Questions tagged [localhost]

In computer networking, localhost is the hostname given to the address of the loopback network interface. It is used by a host to access network services running on itself.

In computer networking, localhost is the hostname given to the address of the loopback network interface. It is used by a host to access network services running on itself.

On many operating systems, localhost translates to an IPv4 address 127.0.0.1 and IPv6 address ::1. However this may be configured differently.

Technically, tested on Windows and IPv4 address starts with 127 will be regarded as and it should access the same result as localhost. However, the same result, may depend upon the local server settings that you aim to connect with. For example, restricting access from specific IP such as 127.0.0.1. Knowing this note helps in local testing that need another host IP. For example, in web design, suppose that you want to view new favicon of your website hosted locally, simply, instead of accessing it http://localhost or http://127.0.0.1 (or http://[::1]) you can access it something like http://127.10.205.98

Useful links

10147 questions
217
votes
16 answers

How do I allow HTTPS for Apache on localhost?

I was asked to set up HTTPS with a self-signed cert on Apache on localhost, but how do I actually do that? I have no idea at all.
KennC.
  • 3,315
  • 6
  • 20
  • 18
209
votes
8 answers

How do I connect to this localhost from another computer on the same network?

I'm currently working on a project and I would like to test it out on two laptops at home where one laptop connects to the localhost on the other. I am using XAMPP. How do I do this?
user1219572
  • 2,326
  • 3
  • 17
  • 13
206
votes
8 answers

Origin null is not allowed by Access-Control-Allow-Origin

I have made a small xslt file to create an html output called weather.xsl with code as follows:
dudledok
  • 2,800
  • 5
  • 24
  • 36
206
votes
30 answers

HTTP Error 503. The service is unavailable. App pool stops on accessing website

There are number of posts on this and I have tried many a things by now. But to no avail. Myself a Winforms Developer basically, started working on this Web stuff few days back as my company is taking Web initiatives. I have a ASP.Net project and I…
Sandy
  • 11,332
  • 27
  • 76
  • 122
198
votes
26 answers

Accessing localhost (xampp) from another computer over LAN network - how to?

I have just set up a wi-fi network at home. I have all my files on my desktop computer (192.168.1.56) and want to access localhost over there from another computer (192.168.1.2). On my desktop I can access localhost through the normal…
bcosynot
  • 5,653
  • 10
  • 34
  • 47
192
votes
17 answers

create a trusted self-signed SSL cert for localhost (for use with Express/Node)

Trying to follow various instructions on creating a self-signed cert for use with localhost, Most of the instructions seem to be for IIS, but I'm trying to use Nodejs/Express. None of them work properly because while the cert gets installed, it…
JasonS
  • 7,443
  • 5
  • 41
  • 61
184
votes
20 answers

Facebook development in localhost

Just wanted to know if there is any way I could develop Facebook applications in localhost.
Abhishek
  • 6,862
  • 22
  • 62
  • 79
176
votes
5 answers

What is IPV6 for localhost and 0.0.0.0?

As we all know the IPv4 address for localhost is 127.0.0.1 (loopback address). What is the IPv6 address for localhost and for 0.0.0.0 as I need to block some ad hosts.
Killerbeans
  • 1,903
  • 2
  • 10
  • 7
169
votes
20 answers

ngrok command not found

I'm trying to install ngrok (which I've been using for a while on Windows with no issues) on my 1 week old yosemite and these are the steps I've followed so far. Downloaded ngrok from here https://ngrok.com/download. Unziped the file and copied the…
Valina
  • 1,739
  • 2
  • 11
  • 9
158
votes
6 answers

Access localhost from the internet

I need to forward my localhost for a short period of time for testing purposes. It has to be accessed from the public internet. How can I achieve this?
George Leow
  • 2,193
  • 6
  • 23
  • 27
153
votes
15 answers

How do I get Fiddler to stop ignoring traffic to localhost?

When using Fiddler to monitor HTTP Requests & Responses in Internet Explorer it ignores all traffic directed to http://localhost.
NotMyself
  • 29,209
  • 17
  • 56
  • 74
147
votes
13 answers

How to check with javascript if connection is local host?

I want to have a check in my javascript if the page loading up is on my local machine. The reason why I want to do that is that when I developing I like to make sure that both my server side(C#) validation is working correctly. So I like to see both…
chobo2
  • 83,322
  • 195
  • 530
  • 832
146
votes
18 answers

How do I free my port 80 on localhost Windows?

I installed XAMPP 1.6.8 and for some reason it didn't work. Later realized port 80 is not free or not listening. How can I release it or make it free? Thanks a lot!
Aashish
146
votes
9 answers

Wireshark localhost traffic capture

I wrote a simple server app in C which runs on localhost. How to capture localhost traffic using Wireshark?
144
votes
11 answers

How to enable local network users to access my WAMP sites?

First of all, I read at least 20 articles about this topic, and not one of them can match up the scenario and I screwed up the process numerous times. So I turn help by offering my specific scenario if any help will be appreciated. Laptops or other…
ey dee ey em
  • 7,991
  • 14
  • 65
  • 121