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

Proxy a website from Docker through Nginx without acting as localhost

How can I proxy a website from Docker through Nginx without it acting as localhost? My current setup consists of an Ubuntu host with a couple of Docker containers with exposed ports. The Docker containers are only exposed locally. The exposure on…
Socrates
  • 241
  • 4
  • 13
0
votes
0 answers

Setting Apache on BigSur (returns ERR_CONNECTION_REFUSED)

Firstly I've read many tutorials, I'm trying for many hours during last days (because I know there were billion similar questions and tutorials for the same thing before) but I'm in the ends... :-( The last site I've followed (and checked many…
pavel
  • 111
  • 2
0
votes
0 answers

Access the host's IP or loopback interface from Docker container

willnorris/imageproxy is a caching image proxy server that we use in one of our deployments. We typically have a PHP backend that will serve some html or json to a client where the URL would be…
oligofren
  • 601
  • 2
  • 8
  • 21
0
votes
2 answers

How to forward my localhost to my VPS's ip address?

I am running a localhost service on my VPS. When i start the service, this is what i get: Navigate to https://127.0.0.1:7443 in a browser The problem with this is that i can't open it in my browser because it's a VPS. I have tried running ngrok,…
0
votes
0 answers

Change bin-address on mysql ubuntu 18.04

I'm trying to change the bin-address of my localhost database instance on a ubuntu 18.04 computer i went to /etc/mysql/mysql.conf.d and then modified the file mysqld.cnf to assign the ip address i want 192.168.0.100. From bind-address = 127.0.0.1 to…
0
votes
1 answer

Connecting To 127.0.0.1…Could not open connection to the host, on port 8123: Connect failed

Well aware this has been asked, but I have scoured Google/StackOverflow and tried every single suggested solution, without being able to connect to port 8123 on my local (which is running Windows 10). It is worth noting that I CAN connect when I…
KateMak
  • 123
  • 1
  • 6
0
votes
1 answer

Will /etc/host file entries be transferred to VPN DNS Server?

I have several localhost entries on my local etc/host file. (in Mac "/etc/hosts" and in Windows "C:\Windows\System32\drivers\etc\hosts" # LOCAL DEVELOPMENT 172.16.5.248 maxim.local 172.16.5.248 m.maxim.local My Computer is connected to a VPN. I…
mahen3d
  • 3,905
  • 12
  • 34
  • 55
0
votes
1 answer

bandwidth throttle on OSX with IPFW for localhost

I have my localhost webiste on http://macintosh.local - 127.0.0.1 Testing my website also for IE on the same address in VMWare Fusion I tried some Apps from hanynet.com/applications/ like WaterRoof. Never managed to get it working though. I realize…
Anton
0
votes
1 answer

Postfix SMTP only localhost login - disable remote login

I have configured postfix + dovecot on a debain 10. I have installed a web server to have webmail with roundcube. I don't want anyone other than roundcube to be able to use mail services, so I'm only exposing SMTP ports 25 and 587 to the…
0
votes
0 answers

NGINX Get local IP for proxy_pass

Is it possible to pass in a variable such as $server_addr into proxy_pass. proxy_pass http://$server_addr:8096/; If I do this, I run into issues where it doesn't load. Is this possible on what I'm doing?
0
votes
1 answer

What is the difference between the loopback interface and the 127.0.0.1 IP address?

I am trying to allow connections between softwares running on the same machine in iptables. The following kill my internet connectivity: # The following rules doesn't allow the VPN connection to be established #-A INPUT -i lo -o lo -j ACCEPT The…
0
votes
1 answer

How can i access my ip:my port

I'm trying to access a specific port (which is 3000) on my server, I can access to localhost:3000 and I can access 192.168.1.111 (my local IP) but I can't access 192.168.1.111:3000 although I'd added an allow rule to this port in my firewall So how…
user617317
  • 11
  • 1
0
votes
1 answer

If I request data from localhost vs web-address, does the data go through the network

Apologies if my wording is not fully correct - I am quite new to all of this. Goal: I am trying to improve the speed at which I get data from my database Setup: I am hosting the DB on server A. The DB is also accessible via a website like www .…
Newskooler
  • 157
  • 1
  • 1
  • 10
0
votes
1 answer

Cannot connect to port 5432 locally even though it is allowed by UFW

I'm trying to setup my server so that port 5432 (Postgres) is accessible only from localhost. So I've denied everything, and added back port 5432, however I cannot connect to it. Here is my UFW config: $ sudo ufw status verbose Status:…
laurent
  • 175
  • 2
  • 11
0
votes
0 answers

Bind 9 debug logging requests from localhost

If I do, for example dig delfi.lv from a PC on LAN, I get some log messages in /var/cache/bind/named.run like: 29-Oct-2020 12:01:51.905 client @0x7f2adc000cd0 192.168.1.2#37827 (delfi.lv): query: delfi.lv IN A +E(0) (192.168.1.1) But if I do the…