`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

0
votes
0answers
1k views

Technicolor TG582n set up Dyndns

I have set up xampp on Windows, and everything is working in my LAN. I set up my router with Dyndns, but when I go to my site, I only have my router's login page and if I try to go to another page it ...
0
votes
2answers
460 views

How to connect to my Local Host?

I have Mac OSx (mountain Lion), Windows 7, Fedora 17 installed on my Macbook pro, and I can't connect to the local host on any of them, it always tells me can't connect. I'm learning mysql and from ...
0
votes
1answer
8k views

How to connect android client to the localhost of Apache server (php) inside my laptop?

I'm trying to create android apps which are able to send data through wifi connection to my laptop Apache Server and MySQL database. I use the samsung galaxy tab 10.1 as my mobile device. and the ...
2
votes
2answers
3k views

Deny access to a port from localhost on OSX

I want to test a fallback strategy for my memcached driver (in case port is protected by firewall). How can I deny access to a specific port, on 127.0.0.1?
0
votes
2answers
3k views

Sublime Text Preview php files on localhost

Hey I've just started using Sublime Text 2 with the SidebarEnhancements package installed. I have it setup so that when I press the build shortcut it previews in Chrome which is fine for my HTML ...
0
votes
0answers
686 views

Thunderbird configuration for James on localhost

I have an Apache James Server on localhost. I know to configure its smtp, pop3 and imap ports. I set them to 1025,1110, 1043 for now debugging. I have a user user2 I can send mail through telnet ...
2
votes
3answers
3k views

Connect a linux server to network and access it from another computer browser

I had a server in a hosting company and I took it home. I need to connect him to a local network (not wifi) and access to the server from another computer in the network via browser, like I did it ...
1
vote
2answers
467 views

Why localhost is too slow while I am downloading and it works perfect when there's no internet at all

My project don't need anything from the internet, no JQuery, no twitter, no nothing! and it works perfectly when there's no internet connection at all, and of course when there's an internet ...
1
vote
1answer
740 views

Cannot find 127.0.0.1 or vhost with localhost apache in mac

I was working with localhost:81 during a long time with vhost and all was right. Right now I need to work over the 80 port and i change the http.conf and http-vhost for used the 80 port but right now ...
1
vote
2answers
310 views

Accessing guest (Ubuntu) localhost from host (Windows)

Is there any way to access guest's localhost through a browser inside the host? I am running Ubuntu with Virtualbox on Win7.
3
votes
1answer
152 views

What would happen if I changed my hostname to 'localhost'?

Would my machine function correctly? Would other machines on the network be able to ping mine by name?
4
votes
2answers
11k views

Something is using port 80 and I can't figure out what [duplicate]

Possible Duplicate: How to find exe listening on port? What is using port 80? I need to setup a local webserver that I made and bind it to 127.0.0.1:80. However, I can't seem to figure ...
1
vote
1answer
569 views

How to route a single an ip to a localhost?

I have a web server on my localhost on win-7, and I want to route my local network ip: (192.168.1.120) to the localhost, so that if I type http://192.168.1.120/ in my browser it would directly ...
1
vote
1answer
458 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
1k 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
2k 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
3k 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
337 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
1k 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
404 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
469 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
400 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
4answers
4k 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
9k 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
3k 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 ...
1
vote
2answers
464 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
137 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
52k 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
238 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
283 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
913 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
5k 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
69 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
1k 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
3k 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
5k 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
6k 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
2k 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 ...
4
votes
4answers
7k 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
791 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 ...
27
votes
6answers
30k 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
1k 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
268 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 ...
9
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
304 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
547 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
497 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 ...