Questions tagged [localhost]

Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
549 questions
3
votes
3 answers

How do I force BIND9 to bind to a specific IP?

This is my setup: $ ip addr 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 10.0.2.0/24 scope global lo inet6 ::1/128…
Habbie
  • 755
  • 3
  • 9
3
votes
4 answers

Access ports on localhost from external IP

I'm currently in the process of setting up a web server just for personal and testing use. Right now I'm trying out running some python applications but when I start them, they are ran at 127.0.0.1:5000. Is there anyway I can forward this to make…
Breathtender
  • 131
  • 1
  • 5
3
votes
1 answer

Failed to connect to MySQL at localhost

I recently installed MySQL on my machine using MySQL installer. I am using it as part of an Apache Tomcat server I'm running on localhost. I linked the database to Netbeans and everything was working fine. A couple of weeks ago I accidentally shut…
Brian Byrne
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

Localhost stop resolving after a few minutes IIS 7.5

I am running IIS 7.5 on my local machine (Windows 7 Home Premium) and localhost works for about three requests and then stops taking requests. The strange thing is when I switch to calling it with 127.0.0.1, I can access the page again but then the…
3
votes
2 answers

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every machine I've used localhost has been an entry in the…
cwd
  • 2,763
  • 9
  • 33
  • 48
3
votes
4 answers

Cannot get proxy.pac file to get browsers to go DIRECT for localhost

I am gonna throw this problem out into the wild. We have just started using a proxy to log users internet usage against login names. This is setup on ISA Server 2004 (which is on our Internet gateway server). Integrated and basic forms of…
Qwerty
  • 1,504
  • 2
  • 15
  • 24
3
votes
3 answers

Strange redirect to localhost! http://dp.000.in/?

I just accidentally typed imadb.com and after 2 redirects (I think) I ended up at: http://dp.000.in/ You can imagine my surprise when I noticed I was seeing my webpages on my local host! Can someone explain why dp.000.in points to the local host and…
zaf
  • 157
  • 1
  • 7
3
votes
1 answer

Hosts file entries for multiple domains on VPS?

mydomain is the main domain (in Plesk, Media Temple MT VPS), and under that are several Wordpress sites, like mysite1.com, mysite2.com, etc. Problem is that I get lots of these errors in httpd's error_log: [error] [client 127.0.0.1] script…
markratledge
  • 519
  • 5
  • 13
  • 26
3
votes
2 answers

How to free port 80 for xampp to work

Please help, I used to be running xampp and it was working perfectly. Then I wanted to try something out and I ran IIS instead of xampp. Now I want to go back to using xampp, but whenever I try to run the apache server it says: Busy... Apache…
Alfie
3
votes
2 answers

localhost works 127.0.0.1 does not IIS

Very weird problem on IIS. Never had it before: localhost works, but 127.0.0.1 does not. localhost pings to 127.0.0.1. www.mydomain.com also pings to that IP, which is set up in the hosts file, but that also doesnt work locally. I've ipconfig…
ChickenMilkBomb
  • 419
  • 6
  • 14
3
votes
4 answers

Is it Possible to view my apache server (local host) from home or remote computer that is outside my LAN?

i am developing a website and need to share progress with other stakeholders. Is it Possible to view my apache server (local host) from home or remote computer that is outside my LAN?
Zeal Murapa
3
votes
0 answers

Docker service unreachable on host-IP, but works on localhost

I have a similar problem to this post here, though I don't think my IP ranges collide: https://forums.docker.com/t/service-is-unreachable-on-host-ip-localhost-works/78515 I'm exposing a webserver via docker on port 443 and I can access it via…
Dennis G
  • 598
  • 3
  • 8
  • 20
3
votes
8 answers

SQL Server 08 Express error when connecting to localhost - "Timeout expired". Works with ::1 or 127.0.0.1

EDIT New info: Navigating to localhost:1434 in Chrome gives me an "ERR_EMPTY_RESPONSE", while other ports give me an "Oops! This link appears to be broken". So it seems to binding ok there? So here's my setup so far: I've configured Windows…
Adam A
  • 151
  • 1
  • 7
2
votes
2 answers

127.0.0.1 vs external IP performance on Ubuntu 16.04

On my Ubuntu 16.04 machine, I've two services A & B. Service A calls Service B using 127.0.0.1:Bport... Does it change anything, in terms of performance to call :Bport instead ? Thanks !
2
votes
0 answers

MYSQL: Aborted connection to db: 'unconnected' user: debian-sys-maint' host: 'localhost' (Got timeout reading communication packets)

I recently migrated all my logs to a new service, where I could see a recurring bug in mysql. The message is the following: Aborted connection to db: 'unconnected' user: debian-sys-maint' host: 'localhost' (Got timeout reading communication…
Gonzalo
  • 121
  • 1
  • 5