`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
votes
1answer
8 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
28 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
31 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, ...
-1
votes
0answers
7 views

FileZilla says connection with server got closed prematurely on Mac El Capitan [duplicate]

I installed the FileZilla and tried to connect to the localhost. As it didn't work, I went to the network configuration wizard and did the test. According to the test result, the connection with ...
0
votes
1answer
82 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 ...
3
votes
2answers
420 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 ...
-2
votes
1answer
41 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
16 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
121 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
21 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
44 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
0answers
54 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
17 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 ...
12
votes
3answers
2k 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
51 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
32 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 ...
0
votes
0answers
30 views

View local webpage using Powerpoint's LiveWeb add-in

I realize this exact question was asked here, but I haven't had any luck viewing my particular webpage within Powerpoint with the LiveWeb add-in. I recall reading somewhere to enter the local file as ...
0
votes
0answers
47 views

localhost apache server always returns default index.html

I have this Apache2.2 running on 8080 port and as I know, file directory where it used to run all file containing php and html code will be in C:\Program Files\Apache Software ...
0
votes
1answer
53 views

Internet Explorer 11 can't disable localhost cookies

I'm developing a site and I need to test some functionalities with cookies disabled. I'm testing on localhost. Looks like IE 11 does not disable localhost cookies. I have tested same code with ...
1
vote
1answer
47 views

Difference between 127.0.0.1 and 0.0.0.0 in the context of the Firefox address bar

I need to configure a firefox extension to load a page that can never exist. It should be as fast as possible. The obvious choice is about:blank, but the catch is that the API used by the extension ...
25
votes
4answers
4k views

Why does the “Internet of Things” enforce the need for IPv6 addresses?

If you have multiple devices in one network, the amount of IPv4 addresses will not increase linearly to accomodate the number of devices. There is just one IPv4 address per Network/Router that is ...
0
votes
0answers
57 views

localhost doesn't resolve in Airplane Mode on Windows 10

I'm trying to do some local development on my laptop during some long flights, but when I put my laptop in Airplane Mode, Windows 10 can't seem to resolve localhost. If my test server uses 127.0.0.1 ...
-1
votes
1answer
172 views

Chrome on Android ignores host file

I need to access my lamp server from my Android phone. The problem is I need to access it using "localhost" URL not the IP address. I have rooted my phone to be able to edit the HOSTS file. I have ...
1
vote
0answers
20 views

Connecting to a node server on mac from a local network

I want to test my app from an iphone locally, so I tried to access the ip of the mac it is running on (on the same network, and including the port: 192.168.1.101:3456) and it is not working. The ...
0
votes
1answer
8 views

How do the HortonWorks and MAPR VMs receive connections on localhost?

I just downloaded both the Hortonworks and the MAPR VMs for VirtualBox. Both of them start up VirtualBox and then give a UI that looks like this: What I don't understand is this: how do the VMs, ...
0
votes
0answers
48 views

Localhost is blocking external requests, how to unblock?

My localhost (xampp) is blocking external requests. Therefore for example the WordPress gives the error message: Warning: An unexpected error occurred. Something may be wrong with WordPress.org ...
0
votes
0answers
39 views

OSX Lion I cannot access localhost from my browser

I am running mac osx 10.7.5 (My computer won't allow an upgrade). And apache 2.2.26. I am trying to learn cgi programming with c++ (because I'm already familiar with cpp), but cannot access localhost ...
0
votes
1answer
94 views

How to make a LAMP server accessible from the internet?

Hi I want to make my own SNS (Social Networking Site), so I installed LAMP on my Ubuntu 14.04. But its not accessible from the internet! I can run the server only on my computer by typing ...
2
votes
3answers
203 views

Why is there more than one loopback IP address?

Most applications only need the one loopback IP address of 127.0.0.1. However, not only is the address block 127.0.0.1/32 provided, and even 127.0.0.0/24 is provided as well but in fact the whole ...
0
votes
0answers
72 views

Chrome Not Navigating to Localhost URLs (searching instead)

I don't know exactly when this started happening, but I've picked up on it over the past few weeks. It seems that sometimes, when I'm browsing a local IIS Express-hosted site with a URL like ...
0
votes
1answer
28 views

Can not ping host from guest

I have a Virtualbox setup whith a Windows 7 host and a Ubuntu 14.04.2 guest. I have set up a host-only adaptor because I want to be able to reach my hosts localhost ports. I have set up the adaptor ...
0
votes
2answers
119 views

Apache 2.4 localhost virtualhost not working

I’ve been trying to figure this out for days. I just want to be able to reference my local test environment with: placeholder.test I have the following in my httpd-vhosts.conf: <VirtualHost ...
1
vote
0answers
77 views

Chrome master_preferences file appears to be encrypted

I am trying to disable the privacy error flag feature in Chrome; long story long, Chrome refuses to accept my local host's SSL certificate for a website I’m deploying in dev, and I don’t have time to ...
0
votes
0answers
74 views

Add a local vs add a network printer — difference?

I'm puzzled as to how "add a local printer" and "add a network, wireless or bluetooth printer" are different. Under "Add a local printer", I can use an existing port or create a new port, under which ...
0
votes
0answers
33 views

Accessing local pages results in “waiting for localhost” for a few seconds each loadtime with MAMP

I've researched already but never found the solution, only that it might have to do with the name resolution in osx bonjour. Problem is i am running MAMP 3.4 in the normal version for local web ...
-2
votes
1answer
49 views

I accidentally opened a localhost port?

I had accidentally opened a port via firewall which had a WEBSITE(IIS EXPRESS) localhost port number. So could my desktop be hacked by opening a port? And also i had deleted it after a few minutes.
1
vote
0answers
678 views

Can't connect to socket listening on 127.0.0.1 but works for 'localhost' in Windows 10

I have a clean install of Windows 10 Pro x64 and I’m trying to run PostgreSQL server on it. It used to work perfectly on Windows 7, but Windows 10 is behaving really weird: If I configure PostgreSQL ...
1
vote
1answer
2k 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 ...
0
votes
2answers
68 views

How do I configure PHP to run locally?

I have attempted to configure my system to run a PHP server. I'm running Windows 10, and using IIS. I've gone through the Windows Features and turned on the Web Management Tools under the Internet ...
2
votes
0answers
90 views

McAfee firewall blocks localhost in subprocess only

This is a programming-related question but seemed more appropriate for SuperUser than StackOverflow. I have installed McAfee (a trial version of LiveSafe -- Internet Security) on my PC. I am running ...
0
votes
1answer
627 views

How can I put my WAMP server online to access my localhost projects through Internet?

I would like to put my WAMP server online so that my localhost projects could be accessed through Internet. I tried and followed various tutorials on the web but nothing worked for me. I also went ...
0
votes
2answers
785 views

windows ssh localhost: connection refused

I want to try ssh myself (windows) so I open cmd and type: ssh 127.0.0.1. But I got this error: ssh: connect to host 127.0.0.1 port 22: Connection refused. I tried to use Putty but I got the same ...
0
votes
0answers
137 views

Apache cannot resolve /etc/hosts entries without internet connection

I alias tw/twcdn.localhost to 127.0.0.1 in /etc/hosts: $ cat /etc/hosts 127.0.0.1 localhost.localdomain localhost hostname tw.localhost twcdn.localhost 192.168.1.2 benito-laptop ::1 localhost ...
0
votes
0answers
48 views

localhost asks authentication password

To find configuration tool I followed these steps at; http://stackoverflow.com/questions/20541680/visual-studio-2013-and-asp-net-web-configuration-tool. But when I tried to connect,localhost asked ...
104
votes
4answers
15k views

What's the difference between 127.0.0.1 and 0.0.0.0?

I understand that 127.0.0.1 points to localhost, and so does 0.0.0.0 (correct me if I'm wrong). So, what's the difference between 127.0.0.1 and 0.0.0.0?
1
vote
3answers
196 views

How local host is shared to Internet?

Recently I have found websites which generate a public URL for a given local host. I'm immensely interested in understanding how a local host can be shared to Internet. After searching a lot I got ...
0
votes
0answers
49 views

On what factors does localhost speed depend?

I am setting up a server in my home. I am using AN1020-21 router for the purpose and my laptop as host. I will use a desktop later if everything goes smooth. I am using XAMPP latest version. When i ...
0
votes
1answer
47 views

Accessing MacBook local network from iPhone

I have a development environment with grunt and BrowserSync which gives me the URL 192.168.1.140:3000 to access the webpage from other devices in the same network. The URL works on the MacBook, but ...
0
votes
0answers
49 views

How to block localhost connection with Windows Firewall (Server 2012 R2) [duplicate]

Is there a way to block a localhost connection with the Windows Firewall ? Thanks.
0
votes
1answer
149 views

User cannot login to MySQL from localhost with Host set to %

I installed XAMPP 5.5.24 onto another machine (OS X 10.6.8) recently. I created the DB for my application and a user for connect to it. However, I was facing the following problem: The user was not ...