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
537 questions
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
  • 499
  • 5
  • 13
  • 24
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
  • 588
  • 3
  • 6
  • 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
1 answer

Nginx redirecting every url to localhost

I have a Django website running with Nginx and Gunicorn. Everytime I call a url on the server, example website/url, it redirects to localhost/url. I have given the nginx settings in both nginx.conf and sites-available/site-name nginx.conf: user…
Shounak
  • 21
  • 3
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
  • 5
2
votes
0 answers

sendmail localhost host name lookup failure

I am starting to see a certain type of email that is causing problems for our users. I am running sendmail on Fedora with mimedefang-filter. When this certain type of spam comes in with random characters in the subject and body, it eventually…
xivix
  • 543
  • 2
  • 8
  • 15
2
votes
2 answers

Access site without domain name via IP address on server with multiple virtualhosts

I have a single Digital Ocean droplet with 5 websites hosted on it via virtualhost. Everything works fine. Their domain names point to each one individually. Using Ubuntu 14.04 and Apache. I want to add a sixth "test" site, without a domain name…
2
votes
2 answers

Ignore HSTS in browser for a subdomain

[copied from https://stackoverflow.com/questions/39937837/] I've got my DNS set up to point local.example.com to 127.0.0.1. This is so that I can share cookies between the live site and my dev environment. With HSTS activated on the live site, my…
EoghanM
  • 540
  • 2
  • 6
  • 15
2
votes
1 answer

Is it important to use localhost/127.0.0.1 rather than machine's own IP address?

I'm on Amazon AWS EC2 running Amazon Linux, though that may not be significant to the answer. Say I have three hosts, H1, H2, H3, with private IP addresses of 10.0.0.1, 10.0.0.2, and 10.0.0.3. This could be represented in a /etc/hosts file with…
sootsnoot
  • 395
  • 1
  • 4
  • 12
2
votes
1 answer

Fix 'ERROR - Unable to set localhost. This prevents creation of a GUID'

My program is working fine but seems I have to set 'set localhost'. Should I do this or it's optional? How to fix in case I should? -sh-4.1$ sh interproscan.sh -i test_proteins.fasta -f tsv -goterms 30/05/2016 14:42:21:909 Welcome to…
biotech
  • 117
  • 1
  • 4
2
votes
2 answers

Accessing PC localhost from Mac over WiFi

I have a web service running on the localhost of my PC. I set up an ad hoc local wifi network and I would like to access the web service from my Mac. Can this be done? What would the url to my web service be? …
Bryan
  • 149
  • 1
  • 3
  • 10