`localhost` usually refers to the special addresses `127.0.0.1` and `::1` that map to a loopback device, which allows a computer to connect to itself.

learn more… | top users | synonyms

1
vote
1answer
409 views

Why does it take a long time to connect to my local site?

I have Windows 7 and a local website on Apache / PHP. I have the most recent versions installed. I have some PCs connected into a local network by the router, which assigns local IP addresses like ...
1
vote
1answer
851 views

technicolor router can't access localhost from public ip

My provider gave me a new router (which sucks compared to the one I had; 2wire), it's Technicolor TG582n software version 10.2.0.B. I looked around for remote management in the router administration ...
5
votes
2answers
1k views

Localhost not recognized in windows 7 machine

I have IIS installed on my windows 7 machine. But when I try to browse the localhost I am getting 404. I tried to put netstat and I see Proto Local Address Foreign Address State ...
1
vote
1answer
2k views

Connect to the localhost of a virtualised PC (VMWare) from Mac

I've found a lot of online help re connecting to a Mac's localhost from inside a virtual PC hosted on a Mac, but not the other way around, which is what I'm after. EDIT - tried to make myself a bit ...
1
vote
1answer
258 views

Localhost spits out PHP source code

I just installed MAMP 2.1.1 on OS X 10.7.4. The MAMP Start page says everything is running. MySQL is running, I can issue command line commands in Terminal. I tested PHP by typing: php -f ...
0
votes
2answers
832 views

Access Apache virtualhosts from LAN without using port numbers

As far as I can tell, there are two ways to access an Apache virtualhost on a server without a static IP address (i.e. my laptop): Set the host name to foo.localhost in its Apache config file and ...
1
vote
2answers
2k views

Browsers can't connect to localhost

I'm using my own computer, running Mac OS X 10.8, as a testing server for a site I'm working on. This isn't the first time I've done this, and so far it's worked pretty much without a hitch. But ...
0
votes
1answer
340 views

Runing Node.js socket server locally on windows

I have seen the introductory course on YouTube (1 hour), and I wanted to try and "clone" the chat example on my pc. I have installed node.js for windows (0.8.2), and I have opened the command prompt ...
0
votes
1answer
328 views

accessing webserver on desktop PC through wifi dongle from a tablet

I am running windows 7 on my desktop PC and have installed tomcat webserver. I'm able to bring up the default homepage using http://:8080 (or, http://:8080) on the desktop browser. I have a D-Link ...
2
votes
2answers
269 views

shorter URLs for locally hosted files

I have seen in many developer talks, the presenter using a demo.local URL instead of the conventional localhost/demo for faster access. I've read about editing host entries over here How can I create ...
-2
votes
3answers
3k views

http://localhost/ now working in browser mac

in snow leapord machine http://localhost/ isn't working through browser. But when I ping http://localhost/ I do get successful replies PING localhost (127.0.0.1): 56 data bytes 64 bytes from ...
2
votes
2answers
7k views

How can I redirect “localhost” to another local IP?

This is my situation: Two computer under the same router, 192.168.1.101 and 192.168.1.102 This is what I like to do: On 192.168.1.101, while accessing port 22 with localhost, it directs the traffic ...
0
votes
4answers
2k views

How Does Localhost works? [duplicate]

Possible Duplicate: How does localhost 127.0.0.1 work? I'm wondering how does localhost:8080 works? Who is sitting behind the scenes and handling my request's? How all request's are ...
0
votes
2answers
358 views

Firefox not taking note of /etc/hosts?

I've set foo.com to 127.0.0.1 in my /etc/hosts file in (located here on Windows: C:\Windows\System32\drivers\etc\hosts). Though Chrome loads foo.com with the one hosted locally on port 80, Firefox ...
0
votes
1answer
2k views

Setting up email for localhost

I am trying to test some web code and am running it on local host. How does one setup email for localhost so the code can use php message functions to send emails? If I need to get some web hosted ...
1
vote
0answers
125 views

Tunnel from my home computer using my server

I have a local webserver in my Mac (OS X 10.7.3). I was wondering how could I build a tunnel to "publish" it temporarily on the internet. For example, my server is running on localhost:20000 and I ...
6
votes
5answers
37k views

How to allow remote access to my WAMP server

I have developed a site using WAMP and it's working locally. I want to give access to other users, and when I put the server online and put my IP to the browser it's working. When I put the IP into ...
1
vote
1answer
215 views

Re-establish route to localhost on Windows Vista

route -f How do you re-establish a route to localhost after this? I can re-establish connections to the Internet via wireless using route add {wirelessgateway} {wirelessip} if {wirelessif} route add ...
-1
votes
1answer
216 views

Multiple Apache Servers with Multiple Virtual Servers

I have one computer. I am running two instances of 2 differently installed Apache servers. 1 via WAMP 1 via Zend Framework I wish for wamp to be connected towards "karl.local" And for Zend to be ...
0
votes
1answer
687 views

Import a local SQL File To a Remote Server Using SSH Tunnel

I have a connection between my localhost and a remote server using putty SSH tunnel. Thats fine. Now I need a command to get the sql file on my local machine i.e. c:\folder\test.sql and import it ...
2
votes
4answers
4k views

Chrome and Firefox can reach localhost; Internet Explorer 9 can't. Why?

The title is pretty self explanatory. I have a Windows 7 environment with IIS7 installed. I'm sure this is the result of me mucking around with settings at some point. Trying to avoid a fresh ...
1
vote
1answer
68 views

How popular OSes handle localhost connections?

Is there any noticeable overhead when sending data? Or systems are smart enough to optimize it and it's practically as fast as coping data within RAM?
0
votes
1answer
939 views

how to get localhost to work correctly again on Lion

Anything that asks for something via localhost fails. I can't get any result from pinging localhost. The only way I can reach anything in my network would be to resort to connecting to my ...
3
votes
3answers
2k views

PHP code is returned instead of executed

I have L-Ubuntu 11.04. I've installed Apache2 and I'm trying to simulate a server on my local file system by navigating to localhost in the browser. The problem is that I can't seem to get php to ...
0
votes
3answers
3k views

500 internal server error when accessing a project through localhost on wamp/apache

I installed wamp. I wanted to use Apache HTTP server instead, so deleted it. But wasn't sure if i deleted it properly. So I installed Apache HTTP server, and in the bottom right of screen where it ...
2
votes
3answers
4k views

Connecting to localhost with smartphone: possible?

I am currently developing a mobile PHP project on localhost (or, to be more precise, a locally hosted website reachable at http://azgoth/) on my desktop computer and wish to check out how the design ...
1
vote
3answers
1k views

Can you do “ping %localhost%”?

I would like to be able to ping whatever machine name I am in without first having to do: localhost Can I do something like the following? ping %localhost% When I do: ping localhost the IP ...
3
votes
4answers
5k views

How to share my localhost over the internet?

I really want to share my localhost over the internet to show my friends the progress of the website we're working on, so that I don't need to upload it to the public server each time I make a change. ...
0
votes
1answer
634 views

does http://localhost/myapp from a desktop PC on a Windows network go through network firewall?

I am trying to find out if the (hardware) firewall on our network would be scanning packets when I type this in a browser window: http://localhost:51502/myapp. Would "localhost" packets be ...
24
votes
6answers
20k views

Why is there a difference between ping “localhost” and ping “local IP address”?

Using cmd and ping on Windows gave me the following results: Pinging "localhost": Pinging "192.168.0.10" (local IP address): Aren't both situations exactly the same? I mean, I'm pinging ...
0
votes
0answers
925 views

Accessing localhost on my iPhone

I've found similarly titled questions, but none that directly address my issue. I'm running Google App Engine server on my Macbook, and it was configured to use port 8080 on localhost. And so anytime ...
1
vote
0answers
267 views

Accessing local sites from IE10 Metro mode [duplicate]

Possible Duplicate: How to test local sites in Metro IE10? I've just installed the Windows 8 Consumer Preview to test my websites in IE 10. I'm running the Win8CP in a virtual machine in ...
8
votes
3answers
1k views

Isn't localhost simply 127.0.0.1 on Mac OS X 10.7 (Lion)?

I tried telnet localhost on Mac OS X Lion, and this is the output I got. Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address ...
0
votes
0answers
283 views

sudo su and ssh localhost are failing

When I try to do sudo su I get the following errors. sudo: /etc/sudoers is mode 0777, should be 0440 sudo: no valid sudoers sources found, quitting I tried following the post ...
0
votes
0answers
469 views

How can I use my own, external IP instead of localhost with Glassfish?

I am using Glassfish v3 to develop couple of servlets. For testing the servlets the localhost:8080/MyServlet is working fine. But whenever I am using IP instead of localhost, its returning an error, ...
0
votes
3answers
409 views

Browse local website on mobile device (ie; without deployment to web)

I am developing a website on my Windows 7 pc at home and want to test it on mobile devices. How can I connect from, say, an iPod Touch to the localhost website on my local machine? Thanks
3
votes
1answer
4k views

How Do I Access localHost From VMware when even the computer isn't accessible from the network [closed]

There are several threads regarding accessing host's localhost from a guest OS. None attracts my specific problem, therefor IMHO this question isn't a duplication. I did follow all the steps appear ...
1
vote
1answer
834 views

Trying to access localhost mamp from iPad

I want to visit my localhost that is being served by mamp on my iPad to do some testing. All the places I looked online say just to visit ip:8888. This results in Safari showing a "server stopped ...
0
votes
1answer
654 views

Open port in Window 7 for local client-server development and debugging

I am writing a C# console application for Windows 7 that can send and listen to packets (client or server). Since I only have one computer, I will have to debug and test my code locally. I first ...
0
votes
0answers
74 views

Java server Stopped working on my computer, why?

I installed JIRA yesterday on my OSX computer. It worked by going to the address: localhost:8080 I Turned off my computer yesterday, and today when I tried to go there, I got: Oops! Google Chrome ...
1
vote
2answers
1k views

Apache suddenly stops serving to LAN computers, now only localhost

TLDR: Apache WAS serving pages to LAN computers, but suddenly only works on localhost. Background info: (I discovered the WAMP, XAMPP, etc packages a day after) I built a WAMP server individually, ...
3
votes
0answers
201 views

read localhost mail and send to locahost using Mail.app (or any other std mail client app)

I want to read the localhost mail on Mail.app. Currently I just type mail on the command line. If I can read "localhost" mail on my Mail.app, then can I send (or move mail from other accounts, e.g. ...
3
votes
1answer
12k views

Why does my “hosts” file entry have no effect when accessing network shares?

I added the following line to a Windows7 hosts file: 127.0.0.1 mecserver Using ping mecserver works fine, but if I use this name to connect to the notebook (like localhost) to see the Windows ...
0
votes
2answers
1k views

Host-only network with multiple VMs

What I'm trying to do is create a host-only network with multiple VMs so as to allow direct access between the host OS and the VMs, but to also allow the VMs limited access to the Internet for things ...
1
vote
1answer
3k views

Mac OS X 10.7 can't ping/telnet localhost

I'm developing using django/postgresql on Mac OS X 10.7 and suddenly I am unable to access the test server through http://localhost:8000/. I can make it listen on 0.0.0.0:8000 and then it works... ...
0
votes
0answers
361 views

Connecting to mysql on localhost using external hostname

I'm trying to connect to my server using the external IP Address... This works from an external machine but not from the machine which is running mysql. This is annoying as I would like to use the ...
6
votes
3answers
5k views

How to prevent Firefox converting 'localhost/*' URLs into search queries?

Since upgrading from Firefox 3.6.x, my address bar has a quirk that never used to be there. When I type in, for example: localhost/my_dir/index.php Firefox turns it into a search query, my search ...
0
votes
4answers
842 views

Make my Virtual Machine invisible to outside world

I am a total newbie to installing and working on server platform. Just to see how things work I went ahead with installing Ubuntu Server (LAMP) 11.10 on Virtualbox installed on a Ubuntu 11.10 desktop ...
0
votes
1answer
66 views

Do (did) all versions of Windows ship with a host file and do they all have a localhost entry

As I'm always creating mini test and developmet sites I'm writing a mini-web based script in php 5.3 to ease the creation of local dev sites on windows running a wamp stack which is intended to create ...
1
vote
2answers
9k views

How can I make localhost resolve to 127.0.0.1 instead of ::1?

When I ping localhost the address resolves to the ipv6 loopback of ::1 My MySQL and Apache installations expects the ipv4 address of 127.0.0.1 How can I configure my WindowsXP to resolve localhost ...