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
4
votes
1 answer

psping to localhost - improve throughput

I'm using following psping command to measure the bandwith throughput for localhost on a physical server psping -4 -b -l 8k -n 20000 localhost:1234 The throughput is around 150MB/s wich isn't all that bad but for an ipc over tcp problem we are…
4
votes
2 answers

Arbitrary loopback ip addresses besides 127.0.0.1

I am developing a web app that has to produce different output based on ip. For testing and during development it would help a lot if I could have more loopback ip addresses besides 127.0.0.1. Is there a way to create (and latter destroy) these?
Majid Fouladpour
  • 311
  • 5
  • 19
4
votes
3 answers

IIS refuses connection to localhost and 127.0.0.1

I am unable to connect to localhost and http:// 127.0.0.1 on one of my machines. However http://machinename works. This results in the Windows Token Application being not able to issue tokens, because it can't connect. This is showing up in the…
Marco
  • 158
  • 1
  • 1
  • 9
4
votes
1 answer

Why is Apache returning Service Temporarily Unavailable on local host?

Ok so I am a bit new at all this. I was trying to get php and apache2 running on my localhost and I don't seem to be able to get it to work. I keep getting this message when inputting localhost into chrome on my machine: Service Temporarily…
John E
  • 149
  • 1
  • 1
  • 3
4
votes
1 answer

Connecting to localhost resolves 127.0.0.1 but connects with external IP [Linux, Debian]

I'm having a problem with a dedicated server, I don't known if it's the default behavior but this is the problem: If I connect to a service located on the server with localhost the service gets as source IP the external IP. Let me show an example, I…
skgsergio
  • 93
  • 2
  • 6
4
votes
1 answer

localhost/phpmyadmin pulls blank page

When I tried configuring local machine as a Internet Gateway with website development capabilities over it and I installed all required software into it. I also had disable the selinux into it. But PROBLEM is when I do http://localhost/phpMyAdmin or…
Atul Modi
  • 41
  • 1
  • 2
4
votes
1 answer

Setting up subdomains on localhost

I have been trying to set up a subdomain on my local development environment, dev.localhost. I'm using Ubuntu 11.10 and Apache2. So far, I've edited my host file to include the line 127.0.0.1 dev.localhost. I've created a file called axis in…
jebriggsy
  • 43
  • 1
  • 4
4
votes
1 answer

Downloading from wget - folder issue

I have a website - http://myradio1.localhost and the directory is currently empty. The virtual host works fine, no issues there. This is my command I'm using to download the site via wget: wget --user-agent="Googlebot/2.1…
avenas8808
  • 155
  • 8
4
votes
2 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
  • 141
  • 1
  • 1
  • 5
4
votes
1 answer

Cannot loopback to localhost php gateway causing nginx to timeout while setting up firewall with ufw

I'm setting up ufw for the first time. Using Ubuntu 10.04 LTS on an OpenVZ VPN and have the following rules: sudo ufw allow 22/tcp sudo ufw allow 25/tcp sudo ufw allow 53 sudo ufw allow 80 sudo ufw allow 443 sudo ufw default deny SSH and everything…
John
  • 141
  • 1
  • 4
4
votes
2 answers

How do I fix "getaddrinfo: localhost Name or service not found" for telnet server?

I need to enable telnet (no i can't use ssh, and I don't want to discuss why I have to use telnet either), I have 127.0.0.1 localhost.localdomain localhost in /etc/hosts. I have installed telnet-server, chkconfigd it on, and enabled xinetd. SElinux…
Nick Anderson
  • 679
  • 2
  • 5
  • 11
4
votes
4 answers

How can I avoid my web browser from redirecting to localhost using WAMP in Windows7?

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file by pointing them to 127.0.0.1 but when I type…
Josh
  • 161
  • 1
  • 2
  • 4
4
votes
3 answers

Minikube. How to allow access to local mySQL database from container

I'm trying to access to local MySQL database from minikube container. My minikube works on Windows 10 with hyper-v driver. I found a few solutions (creating host-only network from VirtualBox) but nothing for hyper-v. Can somebody assist me how can I…
Denis Lopatin
  • 41
  • 1
  • 1
  • 2
3
votes
1 answer

`proxy_pass https://127.0.0.1:3000` led to `502 bad gateway`

I have the following nginx blocks in /etc/nginx/sites-available/default. As a result, my website http://www.funfun.ink/1/#/home can be redirected to https://www.funfun.ink/1/#/home and loads well. But I'm not sure if proxy_pass…
Thomas
  • 223
  • 1
  • 3
  • 11
3
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
  • 31
  • 3