Questions tagged [localhost]
`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.
670
questions
1
vote
1
answer
15k
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 ...
7
votes
2
answers
22k
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
2
answers
6k
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 ...
2
votes
3
answers
19k
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
2
answers
1k
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 connected....
1
vote
1
answer
2k
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 ...
2
votes
2
answers
2k
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.
4
votes
1
answer
215
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?
5
votes
2
answers
20k
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 out what'...
1
vote
1
answer
2k
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
1
answer
864
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
1
answer
3k
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
2
answers
3k
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
1
answer
7k
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
1
answer
1k
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 testphp....
0
votes
2
answers
2k
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 ...
2
votes
2
answers
15k
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
1
answer
712
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
1
answer
647
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
2
answers
4k
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
4
answers
6k
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 127.0.0....
7
votes
3
answers
57k
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 ...
2
votes
4
answers
12k
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 handling ...
6
votes
5
answers
5k
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
1
answer
5k
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
0
answers
154
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 ...
22
votes
6
answers
151k
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 ...
2
votes
1
answer
362
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
1
answer
444
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
1
answer
4k
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
4
answers
10k
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
1
answer
95
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
1
answer
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 externalIP:...
3
votes
3
answers
18k
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
3
answers
8k
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
3
answers
10k
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 ...
3
votes
4
answers
16k
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 ...
5
votes
4
answers
12k
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
1
answer
2k
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 ...
38
votes
6
answers
134k
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 the same ...
0
votes
0
answers
2k
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
0
answers
271
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
3
answers
3k
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 127....
0
votes
3
answers
743
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
1
answer
7k
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
1
answer
2k
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
1
answer
3k
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
0
answers
88
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
2
answers
2k
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, ...
4
votes
0
answers
324
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. ...