`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

69
votes
6answers
33k views

Why is localhost IP 127.0.0.1?

I wondered what is the origin of the decision to make localhost's IP address 127.0.0.1. What is the "meaning" of 127? what is the "meaning" of 0.0.1?
0
votes
2answers
2k views

Change xampp apache htdocs directory to access localhost from ubuntu and windows

I'm using ubuntu and windows 7 dualboot,and have xampp installed on both I want to have access to one localhost directory whether I'm using windows or ubuntu. both systems are installed on the same ...
0
votes
0answers
8 views

WAMPSERVER/drupal complications

I am brand new to web development...and getting Drupal running is a barrier no amount of Googling has helped solve. When I install WAMPServer it works fine. When I tried to open my local domain name, ...
0
votes
1answer
46 views

How can I host website over the internet using Apache2 and Ubuntu Server?

I'm running Apache2 on Ubuntu Server 15.04. For simplicity, I removed all the routers in between. Presently, my server is directly connected to the internet. All that is there in my home network is ...
0
votes
0answers
20 views

How to buy domain name for my local host website?

I have a website that I hosting from my computer with xampp, for my developer testing. My domain is localhost or my public IP address. I want to buy a domain for my website, not website they host ...
0
votes
4answers
5k views

Can't ping localhost/or reach locally hosted domain

I can’t reach a locally hosted domain, and in testing I have discovered I can’t ping localhost or the actual IP either. The OS is Windows7 64bit, Pro. DNS works, I can ping others on my network, ...
1
vote
4answers
6k views

How to remove IIS for WampSERVER?

I have WampServer installed, and I installed Microsoft SEO Toolkit, I guess that has the IIS dependency. And I guess the iis service uses port 80. Now every time I start WampServer, I need to go to ...
0
votes
1answer
47 views

Browser (any) on Windows 7 loads bad (localhost) https certificate

On Windows 7 in Chrome, but also in any other browser, for one particular (external) website a bad HTTPS certificate is loaded. When I open the certificate it says that Windows does not have enough ...
1
vote
3answers
354 views

MediaWiki Availibility for Local and External

I'm currently hosting a MediaWiki site on my computer. I'm forwarding port 80 to my computer, and I'm able to access it from outside the network, as long as the $wgServer variable in ...
0
votes
1answer
41 views

Cannot restart apache on Centos 7

I cannot restart HTTPD on Centos 7. When I try to run the command it shows this error below. How can I overcome this? -- -- Unit session-735.scope has begun starting up. Apr 12 15:33:01 ...
0
votes
0answers
8 views

Path in localhost opened even if local server off

I have localhost "Ampps" and one path i used for uploading files with php opened in browser like some cache even if Apache stopped, http://localhost/tests/public/user_uploads/profilephotos/john/ ...
4
votes
4answers
4k views

Browsing to localhost is slow when connected to Internet

When I browse localhost in my browser when connected to the Internet, the response is slow; it takes 30 seconds or completely times out. When I disconnect from the Internet, it is blazing fast and ...
0
votes
0answers
18 views

Chrome on Dell Venue thinks http://10.0.1.6:8080/ is a search term [duplicate]

It's frustrating to the Nth degree! I have a local web server at 10.0.1.6:8080 but I can't get Google Chrome on my Dell Venue (Android) to go to that URL. It thinks the whole thing is a search term. ...
2
votes
1answer
7k views

Chrome Localhost Connection Refused

This question is not a duplicate because the suggested duplicate does not solve this problem. There is no such flag on chrome://flags/. I'm using the Google Chrome web browser and WampServer to ...
-1
votes
1answer
6k views

Oracle11g localhost: 1158/em cannot connect

In my Windows 7 professional edition, I installed Oracle Database Express Edition 11g Release 2 which is downloaded from Oracle.com. The SID is 'orcl', username is 'system'. When I attempt connect to ...
8
votes
9answers
10k views

Can't resolve localhost on Mac OS X Server

I have a server running OS X Server 10.5 and it can't resolve localhost to 127.0.0.1. When I try ping this is what happens: > ping localhost ping: cannot resolve localhost: Unknown host SSH and ...
0
votes
0answers
9 views

Should I really add `127.0.0.1` to proxy WPAD autoconfig?

Recently I met a strange problem with Java applications were not able to connect to itself. After digging I found, that the root cause was that opening the URL of http://127.0.0.1 was leading to the ...
0
votes
1answer
65 views

Error Empty Response when accessing apache virtual host from another machine on local network

So, pretty newbie in linux, I followed several tipps & tricks from SO and others. I can't get access to a locale website from another machine (Mac) on the LAN. My server: Apache Server version: ...
27
votes
3answers
14k views

Curl local host names on Mac OS X Yosemite

I just upgraded from Mavericks to Yosemite, and now curl can't see loopback host names. Set up a simple http server to test: $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... Now ...
0
votes
1answer
28 views

How to access windows PC folder on my Adroid Tablets without internet connection

I am trying to access a windows PC folder on my Android Tablets(let's say 10 Tablets). I have a video folder in my PC and I want to give access to my App to access that folder and play video. Things I ...
3
votes
4answers
16k views

Why I can't visit http://localhost via IE?

But it's fine when I'm using firefox, and in IE I can also open the page via 127.0.0.1 Anyone knows how to fix it for IE?
0
votes
0answers
16 views

Temporary server using current IP

I've got a XAMPP running on my computer and I've got dynamic IP. However I would like to temporary change my computer to a server, using current IP, so someone from outside will be capable of entering ...
0
votes
1answer
25 views

Listen to localhost messages

Suppose a TCP/IP client application has connected to a certain port on a server. Both client and server are operating on localhost. Is it possible for another application (also on localhost) to ...
1
vote
1answer
40 views

Accessing VM's Web server from host OS

I'm running OS X on my computer, and I installed Windows 10 with VirtualBox. On Windows, I'm developing a server, which I can access (on Windows) by http://localhost:8080/. Now, I need to access it ...
0
votes
1answer
30 views

hostname changing when network changes

My hostname changes whenever the network changes, is there any way I can have one host name all the time. Following is the output of /etc/hosts - 127.0.0.1 localhost localhost.localdomain ...
0
votes
0answers
25 views

Firefox redirects localhost to the current IP of the network adapter

I have a really strange problem. If I try to access an locally running web application via localhost then my Firefox redirects me to the IP of my network adapter an removes the given port. In Internet ...
1
vote
2answers
102 views

Can't connect to localhost on mac WebServer from other computers on same local network

When I execute ifconfig in terminal, I see under the en0 > inet > 192.168.0.10 which is my machine's ip, but when I enter it into my PC or iPhone's browser, it doesn't work, how do I connect to my ...
2
votes
2answers
7k views

WAMP: Missing http://localhost/ in urls , wrong wamp projects links

I have a problem with Wamp which never happened to me before, cannot find what's wrong. I have a few projects located in my www folder ( running windows 7 ). My hostfile has the line 127.0.0.1 ...
-1
votes
3answers
360 views

How Do I Access 127.0.0.1 in The Host(win8.1) From VMware(win xp)?

I have windows 8.1 installed and I am running VMware worksation with XP as the guest OS. I am a web developer and I installed a webserver(wampserver/php/apache) on The win 8.1 I can reach to my ...
-1
votes
1answer
34 views

Trying to make Tomcat 7 work on a machine locally, with no network connection

What I'm trying to do is run Tomcat on a machine, and to use it locally. The machine will not have a network connection, no network adapter. When I try to navigate to localhost or 127.0.0.1 I just ...
-1
votes
1answer
39 views

Website gets redirected to 127.0.0.1 occasionally

I am trying to access AirAsia's Web Check-in Page. Occasionally I can access it. However, most of the time I get redirected to 127.0.0.1. Could this be an ISP issue? Details: My hosts file is ...
0
votes
1answer
47 views

How to emulate a private IP address for local Apache webserver?

I am working on two seperate computers (office PC and home laptop) on the same project. It's a WordPress website. I use Git and Bitbucket for version control and remote branching. On both machines, ...
3
votes
2answers
944 views

localhost redirect to other site… trojan?

As title, seems there's a trojan on my server When I put a url like localhost/mysite it redirect to the site free-merchants.com and then return to my site... But if I put 127.0.0.1/mysite all ...
1
vote
2answers
3k views

localhost in sudoers

There is no chance of an internal attack, so I would like to give sudo privileges to users at the local computer using sudoers. I tried these lines separately: %admin localhost=(ALL) NOPASSWD: ALL ...
0
votes
1answer
361 views

ftp - connection refused on Mac El Capitan

If I run ftp localhost on Mac terminal, it shows the following result. Trying ::1... ftp: Can't connect to `::1': Connection refused Trying 127.0.0.1... ftp: Can't connect to `127.0.0.1': Connection ...
-2
votes
1answer
72 views

Share my localhost over router?

The problem: I want to share my localhost, which is currently set up to http://sohan.com by hosts file in system32\drivers\etc folder. I want to access it directly from any other devices that can ...
0
votes
0answers
67 views

Apache 2.4 (WampServer), redirect to sub directory of documentroot from port 443

Using WampServer Version 2.5 with Apache 2.4.9. My current DocumentRoot is: c:/wamp/www/. When root is accessed, I would like to redirect the user to the application homepage (located in ...
2
votes
3answers
231 views

Can't access 127.0.0.1 from Windows 8.1

I have a really strange problem with my Windows 8.1 Pro laptop: I can't access 127.0.0.1 from any web browser. But wait, it gets weirder! The setup My OS has installed (among others) the following ...
1
vote
1answer
28 views

Can I run Apache on other address other than localhost (127.0.0.1)

I have a proxy server on my system that current runs on 127.0.0.1 which I use to browse the internet, hence I cannot access my apache localhost for local development. I would like to know if there is ...
0
votes
2answers
48 views

127.0.0.7 show me Facebook homepage in Mac OS X 10.11 (El Capitan)

When I type 127.0.0.1 in browser it show to me the Facebook login page, but URL is still 127.0.0.1 not https://www.facebook.com/. When I nano /etc/hosts: ## # Host Database # # localhost is used to ...
0
votes
1answer
1k views

Why can't Chromium connect to http://[::1]:8080/ (i.e. IPv6 localhost)?

For developing a statically generated website on my laptop running Debian, I use weborf running on IPv6 localhost, port 8080: weborf -i ::1 -p 8080 -b .. I can connect to http://[::1]:8080/ without ...
0
votes
0answers
149 views

Why is localhost so slow

I am testing some AJAX - just some PHP to go to a local MySQl database and fetch some data. I am testing on my laptop, on localhost and would expect this to happen more quickly than I can see, but it ...
0
votes
0answers
24 views

Resolve entire TLD to localhost on a Windows device

Is it possible to configure the Windows network stack such that any hostname ending in .local (or another TLD if .local presents a problem) is resolved to 127.0.0.1? For background, I'm a web ...
-1
votes
1answer
2k views

setup localhost on windows 8 with wamp or whatever [closed]

I want to use localhost on windows 8. I've tried installing Wamp and it works except for i need a microsoft file named msvcr100.dll. I've downloaded it but it isn't compatible with windows 8. (or i ...
1
vote
3answers
1k views

Map 127.0.0.1:81 to external ip? [duplicate]

Possible Duplicate: How can I host my website on Windows Vista at home computer? Hi Guys, I am wondering how I can map my development website - hosted via 127.0.0.1:81 - to an external IP ...
6
votes
2answers
14k views

How can I capture traffic to localhost using Wireshark?

I am using Wireshark on Windows Vista and I would like to capture http traffic to localhost (127.0.0.1), for debugging purposes, but I have some questions. How can I do this? What capture interface ...
0
votes
1answer
3k views

How to connect SSH to localhost in Windows7?

Connect SSH Secure Shell to localhost in Windows machine. What will be host name, username , port and authentication method filled in Quick connect of SSH? I tried with 127.0.0.1, but it is ...
13
votes
3answers
3k views

How do I ping localhost using IPv6?

I'm trying to understand IPv6 better. Firstly, I try ifconfig, and I get the following: eth0 Link encap:Ethernet HWaddr XXXXXXX inet addr:X.X.X.X Bcast:X.X.X.X Mask:XXXXXXXXX ...
0
votes
0answers
91 views

ngrok caused internal server error

I was to trying to give internet access to some site on my localhost and I also tryed using the ngrok. I used to access my site by localhost/site-name. After excecuting it once a broken link version ...
2
votes
1answer
73 views

Sending and receiving email messages to localhost with a specific domain name

I need to be able to send email messages to localhost by using another hostname/domain name that localhost. Thus instead of me@localhost I need something such as me@domain.something. (I require a ...