Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

learn more… | top users | synonyms

1
vote
2answers
6k views

JBoss thrown error looking up local address when starting

Hello im installing a fresh Jboss 5.1 in a Centos 5.5 machine. I dont have Apache installed. So when I try to start jboss using the comand ./run.sh I get the following error 15:13:57,414 INFO ...
0
votes
2answers
889 views

Can't connect to local server

I'm migrating a client / server application from Linux to Windows and while the Linux version of the server works fine, the Windows version won't connect via localhost. While the program is trying to ...
0
votes
3answers
213 views

AddHandler syntax

This is my .htaccess file - currently very limited for now, as it's a test site at: http://localhost/mydomain/testfile AddHandler application/x-httpd-php .$ Is this syntax correct so that any file ...
0
votes
1answer
724 views

Use localhost domain name FQDN for local web project. Did I need to config my Windows DNS?

My local Apache service is running perfectly fine. I am running WAMP. I am trying to configure my .httpd file so that I can access specific projects as fully qualified domain names like: mysite.com ( ...
1
vote
5answers
866 views

virtual host settings fail on multiple sites

Edited (again): I thought that an apache2 installation on my ubuntu os (personal) would enable me to "host" websites internally - without going onto the web. I am realizing now that the two domains ...
0
votes
1answer
585 views

Resolve local subdomain on apache for paths within user dir

On Apache 2.2.x I've activated mod_userdir. I used the default setup, so that http://localhost/~name/ will be connect with ~name/public_html/ and a path within public_html, e.g. ...
1
vote
3answers
4k views

Accessing local files through an http:// address

I would like to access a folder of mp3 files on my local Windows machine through http:// addresses. For example, typing http://localhost:9999/songs/test.mp3 into my browser would play test.mp3, which ...
0
votes
4answers
11k views

127.0.0.1 is working but localhost is not working on mac XAMPP

I installed XAMPP on my mac months ago and was working great. Now i get "Test Page For Apache Installation" when i try to browse /localhost and /localhost/xampp is not found. But when i browse ...
1
vote
1answer
754 views

Wildcard dns as subdomain in localhost using apache

i am developing a web application in Zend Framework running in apache server (xampp). The site can actually be accessed by http://localhost/sitename . It is present in c:/xampp/htdocs/sitename/ I ...
0
votes
3answers
9k views

Can't ping static IP from internal network, only from outside

I'm running ubuntu and I have apache running, however, I can't ping internally to my static IP nor browse http://207.40.XXX.XX the web server using my static IP. I can only ping/browse localhost, ...
0
votes
3answers
165 views

Unable to run php

i am unable to run my php script using the following command : http://localhost/test.php after typing the above command am getting a dialog box to open or save file named as test.php m unable to get ...
1
vote
0answers
754 views

Access a host server running on localhost from a guest VM? (XP-Mode)

I have a weblogic server running on localhost, and I'd like to connect to it from an XP-mode virtual machine without much hassle. It isn't accessible via its IP, so I've been trying to get the XP-mode ...
0
votes
1answer
440 views

localhost times out - Windows Server 2008

I'm having a weird problem accessing a local web site. Web site is mapped to a hostname e.g. example.org The hostname works perfectly on any external machine, but not locally. When trying to access ...
0
votes
1answer
170 views

is there any program that can send emails from localhost

i just have a laptop with an internet connection, but i keep changing the internet provider. i want to be able to send mails from my laptop to real addresses. i dont want to use smtp. can i configure ...
0
votes
1answer
123 views

Does localhost resolve to the same thing on virtual and host machines?

If I set up a web server in a virtual machine, will localhost/127.0.0.1 be the same on both the virtual and the host machine?
1
vote
3answers
748 views

How to get local webserver to my external ip

Problem: I am trying to run a webserver from my computer. I see the request getting to the server, but am unable to see the page on the browser due to a "Errno 10054: An existing connection was ...
0
votes
1answer
217 views

Apache keeps resetting while testing on localhost

I'm getting errors while testing web pages on localhost. I'm running Windows 7 64-bit. I'm not using Wamp or Xampp. This is what the error.log tells me (I've highlighted the errors in question): ...
2
votes
3answers
5k views

Wireshark won't pick up packets sent from localhost to localhost via network [duplicate]

I'm running on Windows and trying to get Wireshark to pick up my network traffic. It picks up all outbound and inbound traffic fine, except for a client/server I'm running on my local system. As it ...
1
vote
2answers
511 views

Localhost not recognized

For some reason my localhost is not recognized. I have this in my hosts file as I've always had: 127.0.0.1 localhost ::1 localhost I did do a flushdns, not sure if that caused ...
0
votes
2answers
427 views

php mail() from localhost

I have installed both postfix and mailx, I also tried sendmail. I'm trying to send e-mail from a PHP script using a crontab. The crontab and PHP run fine but the mail won't send I get the following ...
0
votes
1answer
958 views

connect to apache/ubuntu on vmWare player from windows

I'm running a virtual mashine on my windows 7. In it a ubuntu linux with apache server. How can I get to a site hosted on my ubuntu from windows? Example: Want to get to http://localhost/~user/ from ...
-2
votes
7answers
2k views

http://localhost not working [closed]

i am using xampp 1.7.1 PHP 5.2.9 pinged localhost on cmd and it showed Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms hosts file ...
0
votes
2answers
892 views

Multiple-domains on WAMP localhost [closed]

If you're reading my question, thanks, I appreciate your help I'm using Wamp on Windows Vista. I've created 2 project folders: www/project1/ www/project2/ My virtual hosts file looks like ...
1
vote
2answers
10k views

Hosts file entries for multiple domains on VPS?

mydomain is the main domain (in Plesk, Media Temple MT VPS), and under that are several Wordpress sites, like mysite1.com, mysite2.com, etc. Problem is that I get lots of these errors in httpd's ...
2
votes
1answer
3k views

Setting up Mac localhost mail server on OS X

I was advised that this may be a better location for my question than SO. I've been trying to setup my Mac OS X (10.5.8) to send emails from localhost so that I can test my scripts. I normally get ...
0
votes
5answers
5k views

Cannot connect to apache listening on http://localhost/ without a network connection

I have not tested on windows. but in ubuntu when you disconnect from the network, start Apache, and enter localhost in any browser, it does not show the page it is supposed to show. 127.0.0.1 ...
1
vote
1answer
559 views

Localhost subdomains with Bind9

So, following this question here and a number of other questions about subdomains on localhost, we learned that /etc/hosts isn't capable of handling wildcard routes and we need a DNS system. Ok, I ...
0
votes
1answer
204 views

access localhost stopped working after I installed MAMP

I had configured my machine all access localhost I need some accessed "http://*.localhost.com:3000," * - I put the names of some projects and instances. I needed to run a PHP server and installed MAMP ...
10
votes
3answers
7k views

Windows Server 2008 - Connecting to 127.0.0.1

Im running Windows Server 2008 R2, we have an application that connects from (binds to) a public IP on the server to 127.0.0.1:8334 [connects to a service listening on 0.0.0.0:8334] In Windows 2003, ...
0
votes
2answers
399 views

Parallels Network Setup — Localhost goes to host computer

Is there a way to get 127.0.0.1 to route to the host computer (the one running the virtual machine, not the virtual machine itself)? I am supporting a web app that sometimes requires 127.0.0.1 to be ...
0
votes
2answers
681 views

Apache localhost works great, except PHP is not responding

I'm running Apache on Mac, PHP is installed, and I suspect something in the httpd.conf is not correctly set. The symptom: Running PHP files in localhost yields PHP code, nothing else. Running ...
0
votes
2answers
464 views

One localhost on two PCs

Today I got an idea, that testing my web apps on two different PCs would be even better if they both are near and if I could use my own localhost instead of hosting. i.e.: 1. My ASUS laptop runs ...
0
votes
2answers
2k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
0
votes
2answers
449 views

LocalHost in share path?

I am setting up in a test environment and need to save some paths in a database but dont want to edit the paths when we go to production. My idea being that I could create a share on both servers and ...
0
votes
1answer
911 views

IPTables configuration for Localhost

I have a problem in connecting a JIRA instance running on a cloud server to an instance of MySQL running on the same box. I have configured it previously using quite a few iptables rules, but it ...
0
votes
1answer
100 views

whats the point of @localhost entries for a mail server

After recently setting up a mail server I am now adding the users that I need. As part of the tutorial I followed I created root@localhost as an account and also a bunch of aliases ...
1
vote
3answers
2k views

Fake domain doesn't resolve when offline

I have a flimsy grasp of DNS. Nonetheless, in order to install a local development copy of Wordpress MU, I needed to create a fake domain, which I called local.dev. It and all subdomains simply ...
0
votes
4answers
2k views

Domain name is forwarding to my localhost, no idea why

On my local development machine, I have a WAMP setup (Windows Vista Home Premium, Apache 2, MySQL and PHP 5). One of my projects is rehash.dustinfineout.com, which may be related to the problem... For ...
0
votes
2answers
459 views

problems installing mysql and phpmyadmin to localhost

I know there have been many similar questions, but as far as I can tell, most of the other people have gotten further than I have... I'm trying to get a WAMP setup happening. I've got PHP and ...
6
votes
2answers
19k views

How to create an alias for a named SQL Server instance

On my developer computer I have an SQL Server instance named *developer_2005*. In the resource setting files of a C# application we are creating, the instance name is set to foobar (not really, but ...
2
votes
1answer
616 views

setting documentroot in apache

i've set the documentroot in httpd.conf as: DocumentRoot "C:\Users\user1\Documents\WebProjects" if the files are located in WebProjects, they work; however if i create a sub folder [project] in ...
0
votes
2answers
217 views

Problems pointing site to site in Hosts file

I'm on my localhost PC. I need to add an entry that maps our public site to our dev server. I tried several things with no luck: 192.168.1.40 oursite.com // where the IP here is our internal dev ...
0
votes
1answer
720 views

Tomcat cannot connect to MySQL on localhost

I have deployed an application on my Tomcat server with JDBC resources defined. What is puzzling me is that I can connect to the database (which is running locally on the server) only using the ...
1
vote
2answers
436 views

Trying to get rid of localhost in outgoing email — Sendmail

I'm running sendmail and I've appeared on the CBL. I've already fixed a couple issues, but I can't figure out how to get rid of these last two localhost mentions. I commented out the localhost line in ...
0
votes
1answer
983 views

Sharing Localhost on Network in Windows 7

Basically - I am producing a website and I am trying to share the "localhost" port on 2 computers. Basically, when I build the project I just want to also be able to access it on both computers via ...
10
votes
3answers
8k views

localhost in a DNS zone

Our ISP also hosts our external DNS. By default they include an entry for localhost. For example: localhost.example.com. 86400 IN A 127.0.0.1 When I've asked them to remove it they give me a hard ...
0
votes
1answer
80 views

Is it possible to configure Apache for several local host?

I want to tests to sites locally. It is good for me to have two configuration sections in Apache. I tried <VirtualHost 127.0.0.1> ... </VirtualHost> <VirtualHost 127.0.0.2> ...
0
votes
1answer
1k views

Accessing localhost using ip

I am running google app engine locally and it runs on port 8080. I can access it from the browser using 'localhost:8080' or '127.0.0.1:8080'. But I cannot access it using the ip of the machine even ...
3
votes
4answers
2k views

Virtual hosts on same ip AND port

Is this even possible? My current vhost.conf entries: <VirtualHost www2.b-page.lv:80> ServerAdmin example@example.com DocumentRoot "C:/xampp/htdocs/b-page" ServerName b-page ...