`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
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
289 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
497 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
463 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
903 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
789 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
75 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
216 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. ...
4
votes
2answers
13k 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
384 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 ...
9
votes
3answers
6k 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
894 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
71 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
10k 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 ...
0
votes
1answer
419 views

How can I block external access to my local Apache test server on OS X?

I use the built-in Apache 2 that comes with OS X (10.6.8 in my case) for development. I've been looking in access logs and seen I'm constantly poked from outside by nosy bots. I'd like to make it stop ...
2
votes
1answer
620 views

How can I publicly access 127.0.0.1 through my network IP address?

I have a lot of servers running under my localhost (127.0.0.1), and I also my vhosts file creating some neat aliases. But unfortunately I can't access it outside my computer, like for testing on ...
0
votes
2answers
9k views

WAMP not working on Windows 7 64bit

I just installed the latest WAMP on windows 7 64bit. The installation was successful but now WAMP doesn't open. It says 'Aestan Tray Menu has stopped working' and when I click on 'Close Program' it ...
0
votes
1answer
360 views

Is it possible to get communication work both ways in Virtual Box with NAT (not bridged) on Windows 7 host?

I have set up a virtual machine with Virtual Box. But I cant ping the virtual machine from the host Windows 7 if I have NAT on the virtual machine. I know it works with bridged but I would like it to ...
1
vote
1answer
2k views

Able to ping localhost, but cannot connect via my browser

I've seen similar questions, but couldn't find any answers for my problem. I'm using Windows 7 and Wamp for website development, and it was working fine until a couple of days ago. Now it won't let ...
1
vote
2answers
13k views

http://localhost:8080 is not working on running apacher Server through XAMPP

I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP. In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working. ...
5
votes
2answers
5k views

How to map an IP adress to localhost?

I want to map the IP address 192.168.1.222 to 127.0.0.1 so that if I use 192.168.1.222 in the web browser or ping command I get the response (and that from my 127.0.0.1). Is this possible via ...
0
votes
1answer
1k views

Certain websites redirect to 127.0.0.1. How do I fix this?

Facebook and Youtube in particular. Tried nslookup the address shows as 127.0.0.1. Checked the HOSTS file, it's fine. Ran Malwarebytes' Anti-Malware (didn't find any problems) and SpyBot Search and ...
3
votes
0answers
102 views

How can I send emails from my app “locally”? [closed]

I have an app that sends emails and I want to test it under high volumes of traffic (not because it needs to send high volumes of emails - because I'm debugging a problem that occurs rarely and is ...
2
votes
2answers
1k views

Proxying fake domain to a localhost port

I'd like to do much the same thing described at Redirect Domain Name to Localhost for web app development purposes, but with the twist that I'd like requests to fakedomain.com:80 to be routed to ...
1
vote
0answers
389 views

Debug - How to Access virtual host from Virtual Box machine?

If I configure my virtual box with NAT I can access my localhost MAMP page with: 10.0.2.2 If I configure windows hosts file with: 10.0.2.2 mysite.dev I could then access that same information by ...
3
votes
2answers
5k views

How to access http://localhost on the host operating system if the server is in a virtual machine?

I always used XAMPP for my LAMP environment and developed directly on Windows 7. But now I want to do all my web development on Linux so I installed Ubuntu in virtualbox and installed PHP/MySQL and ...
10
votes
1answer
2k views

Why is “It works!” showing up at my http://127.0.0.1 (localhost)?

So, I was playing around with Java sockets, servers and streams, the other day, and I decided, purely out of curiosity, expecting no good results, to open Google Chrome and navigate to 127.0.0.1, and ...
1
vote
2answers
249 views

Making home based web server

I am new in making web servers. I installed Apache web server in my computer and I forwarded a port 80 on my Router. When I type http://localhost, 127.0.0.1 or my local IP ie 192.168.1.2 in my web ...
10
votes
5answers
28k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa ...
0
votes
2answers
413 views

Connect to VM localhost virtual directory

I have an Ubuntu guest VM operating inside Windows 7 host (VirtualBox with Bridged Networking enabled). In my VM, instead of browsing to http://localhost/somesite I set up virtual directories in ...
1
vote
1answer
960 views

How to view Mamp Pro on a Mac OS X 10.6 from a PC over a LAN

I've been trying to test my sites on IE on my PC sitting next to my Mac over the LAN. I have Mamp Pro set up with port: 80 Mysql: 3306 with a virtual file with: 127.0.0.1 mysite.dev On my Windows ...
0
votes
1answer
816 views

http://localhost:8080/ points to firefox installation directory C:\Program Files\Mozilla Firefox

When I type http://localhost:8080/ in any of my windows browser, I see all the files listed in C:\Program Files\Mozilla Firefox which is my Firefox installation directory. I am not sure which http ...
10
votes
5answers
11k views

How does localhost 127.0.0.1 work?

I found some articles related to this, but they were not sufficient for me. I want to know how the localhost works and why is it the same on many different machines? How does the localhost block the ...
0
votes
2answers
144 views

I just installed Apache, MySQL and PHP stack on my Mac but now everytime I alter a file the OS asks me for my system password? How can I stop this?

I just installed Lion on my machine and I'm starting fresh. I thought I'd manually install an AMP stack on my machine. Also, I'm using my ~/Sites folder as my web root. However, now that everytime I ...
4
votes
1answer
797 views

Chrome slow on request against 127.0.0.1 via “fake” domain (domain.local)

I'm having troubles on my local dev environment with Chrome since an unknown moment in the past, some request (I would say about 90% of them) are really slow, it takes about 10 secs to start ...
2
votes
1answer
175 views

Changing ability to access via “localhost”

I've successfully used PHP/Apache/MySQL on my iMac several times in the past few months/years. However, I started using a new PHP book and moved things around a bit (obviously without knowing what I ...
0
votes
0answers
68 views

localhost:55555 only works with Opera [duplicate]

Possible Duplicate: WebMatrix/IIS Express only works with Opera! Older question... Which is dead... Basically, only Opera works opening localhost (IIS Express/WebMatrix). For details on ...
3
votes
1answer
10k views

Connect to localhost from another computer

I'm trying to access a database that is hosted in a Mac localhost from my Android device which are both connected to the same network. The localhost project is running at www.localhost:8000/ I've ...
0
votes
1answer
2k views

How can I connect to localhost from another computer? [duplicate]

Possible Duplicate: Connect to localhost from another computer Hi all I'm trying to access a database that is hosted in a laptop localhost from my android device which is both connected to ...
2
votes
1answer
995 views

Local virtualhost takes too long to load on MAMP

I have a virtualhost "myhost.local" configured in MAMP My hosts file: 127.0.0.1 localhost 127.0.0.1 myhost.local 255.255.255.255 broadcasthost #::1 localhost fe80::1%lo0 ...
1
vote
1answer
810 views

Joomla cannot connect to MySQL using localhost

I have a fresh Joomla installation in a Mac OS X and I have configured a database to connect the application to. By default, Joomla uses localhost to connect (variable $host), but it does not work. ...
1
vote
2answers
923 views

Accessing localhost from other computers leads to URL redirect

I'm using WampServer and I'm trying to access localhost (the WampServer homepage is stored on my computer) but can't if accessing from outside. Using my external IP address this method works when I'm ...
-2
votes
3answers
416 views

Running PHP files locally on Opera gives 404 error

I have been developing websites for quite some time now and recently web applications. I am trying to achieve strong cross-browser coherence with a new site that I am designing so I downloaded the ...
2
votes
3answers
2k views

Firefox on Ubuntu can't connect to local virtualhost when network is unplugged

I'm using Firefox (3.6.17) on my Ubuntu Lucid (rel. 10.04) and noticed that if the network cable is plugged everything is fine and I'm able to browse my local virtualhost configured in Apache2. But ...
2
votes
2answers
65 views

How to make no one able to connect to my localserver except me?

I've installed a LAMP server locally and I want it to only be accessible from my own computer (not even my local network), only through loopback. Is this possible to do securely? If so, how?