`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
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, ...
0
votes
1answer
7k 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 ...
0
votes
2answers
246 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 ...
2
votes
1answer
12k 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
0answers
36 views

Unable to run localhost in windows 10

The status of my Apache is Green but when I access localhost it displays "unable to connect". I already stopped www publishing service and still no luck. I changed port 80 to 8080 in apache conf and ...
1
vote
1answer
725 views
0
votes
0answers
25 views

Cannot access mysql in local database

I wroted python app which connect to mysql database (192.168.1.19 ubuntu) in my local network and make query. I tested my app on my computer (192.168.1.3 windows 10) and everything works properly. ...
0
votes
1answer
18 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, ...
-1
votes
0answers
57 views

Google Chrome - ERR_EMPTY_RESPONSE when accessing http://localhost/

I'm facing a strange problem with Google Chrome. When I navigate to http://localhost/, I'm am greeted with the error "ERR_EMPTY_RESPONSE". However, Firefox and Safari can access it fine. Things I ...
2
votes
1answer
38 views

remote desktop crashes when browse visual studio projects

so I am working on a remote desktop, which is for a remote server(this server is hosting the online version of the web app that I am developing, but I am developing a local copy,also stored on that ...
0
votes
1answer
31 views

WAMP localhost redirects to my IP

I had to recently wipe my PC and I'm setting up my development environment again using WAMP. After installing WAMP, if I visit http://localhost instead of seeing the WAMP homepage I get redirected to ...
0
votes
1answer
38 views

A browser cannot find a file on localhost

OS Linux Mint onto VirtualBox I've installed PHP like in this manual, https://community.linuxmint.com/tutorial/view/486 When I am trying to test PHP and go to http://localhost/testphp.php it gives ...
0
votes
0answers
21 views

running an html page on localhost from another html page

I'm using this Google Developer javascript to read the next event in my calendar. (https://developers.google.com/google-apps/calendar/quickstart/js) It works fine by using http://localhost:8000/...
0
votes
0answers
43 views

Burp suite is not intercepting localhost | bWAPP | Burp Suite

I am trying to get learn web application security using bWAPP (A buggy web application) which is hosted using Xampp on windows machine. I have configured the proxy (127.0.0.1:8080) in browser properly ...
1
vote
1answer
42 views

Acrylic DNS Hosts not refresh

I've installed current version (0.9.31) acrylic DNS on Windows 8 machine and set DNS address to 127.0.0.1 in TCP/IP v4 settings. Then I added in ArcylicHosts entry: 127.0.0.1 *.dev for wildcards. ...
107
votes
4answers
16k 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?
4
votes
4answers
9k 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. ...
10
votes
2answers
33k views

How can I specify IP and ports for a hostname in the Windows hosts file?

I want to specify host names with two different ports in the Windows hosts file. Is there a way to do it? Or is it not allowed by Windows itself? I have been wasting my time searching for the ...
0
votes
0answers
19 views

Accessing nginx server when offline

Yo! I've been trying to get nginx to work when I'm offline, but both Iceweasel and Chromium complains about not being able to access the domain. It works just fine when I have Internet access. I'm ...
2
votes
3answers
14k 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
0answers
34 views

Editing wordpress files and now “localhost refused to connect”

I was doing some development work with Wordpress on my Mac today and I edited some files gone away came back and when I tried to pull up localhost in the browser I get the error message: localhost ...
42
votes
2answers
37k views

Why is my localhost not 127.0.0.1 but ::1, and what notation is that? [duplicate]

When I use the Ping command against my localhost (on Windows Vista), it doesn't show up as 127.0.0.1. C:\Windows\system32>ping localhost Pinging GIGA [::1] from ::1 with 32 bytes of data: ...
2
votes
3answers
8k 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
vote
4answers
4k 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 ...
18
votes
4answers
21k views

ERR_ICANN_NAME_COLLISION when trying to use localhost .dev in Chrome

Today I got this error when trying to access local domains specified in apache httpd-vhosts.conf. It happened for the 1st time with a .dev domain, so it seemed plausible that in light of recent news ...
69
votes
6answers
34k 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
1answer
118 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 ...
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
73 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
469 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 LocalSettings....
0
votes
1answer
156 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 localhost....
0
votes
0answers
13 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
5k 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 ...
8
votes
9answers
11k 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
26 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
108 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
15k 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
47 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
17k 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
21 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
31 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
72 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
35 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
66 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
217 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 ...
0
votes
3answers
392 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
46 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
42 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 clean....
0
votes
1answer
58 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, I'...