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

Open up localhost port to outside world

I have a http service running on localhost port 8080 on a centos 7 machine. Is there any way I can route / port forward incoming and outgoing traffic through my external interface. So, mapping 127.0.0.1:8080 to :8080? I'd…
0
votes
1 answer

Perforce client AND server no longer connecting, 127.0.0.1:1666 refusing all connections on server, even local connections

I have a server running Ubuntu server 18.04, and it's the catch-all local server - hosts a samba share, media server, and a Perforce server. I connect to that depot via a local network IP (ssl:192.x.x.x:1666). Everything was working great…
0
votes
2 answers

Apache Proxypass redirects "localhost:port" as url string instead of local service of the port

Environment Server version: Apache/2.4.6 (CentOS) I have two servers which are almost duplicates. aaa.com. and bbb.com. They have almost same Apache rulesets. aaa.com. config ProxyPass…
Lunartist
  • 125
  • 1
  • 8
0
votes
0 answers

How do I create a Virtual Name Host on Apache2 for a service running on localhost:8080

i have a server with apache that runs a mailing service, a wordpress multisite I have followed guides online to make the above work now I have a service from Vaadin (java stuff) running on localhost:8080. I can also access this through my public…
0
votes
1 answer

(Theoretical view) In a DDoS attack via docker, no correlation found between the amount of sent packets and the number of virtualized containers

I have been testing a DDoS attack in my local network via docker. Each image has loaded with an "evil" DDoS file. I tested simultaneously several containers attacking at the same time. On the image below it is possible to see 6 attacks (peaks).…
0
votes
2 answers

How to make localnetpriority / netmask ordering work on Windows DNS server when it queries itself?

We are utilizing Windows 2016+ DNS servers. We rely on LocalNetPriority on our DNS servers. We have several Active Directory DNS servers across multiple sites. The expected behavior is that when a particular query is made to the DNS server, it will…
Appleoddity
  • 3,488
  • 2
  • 13
  • 33
0
votes
2 answers

Connecting to lcoalhost from VM

I am using windows 10 on my local computer, and I'm building an app that requires using Linux OS, therefore I'm using an Ubuntu Virtual Box. I installed Vagrant, and set SSH connection from my windows to my Ubuntu VM to use it's terminal from my…
0
votes
1 answer

mysql user@% can access from localhost

I was always told that "%" means every host except localhost. However I have created a user4@"%" and I can connect to from localhost. screenshot So now I am a bit confused regarding this. Can anyone clarify this for me, please?
ptor
  • 3
  • 1
0
votes
0 answers

Apache WampServer - Getting "It works!" only with https

I am using WampServer 3.2.3 (Apache 2.4.46) and I added an SSL certificate on a virtual host, but when I go to this virtual host's whebsite with http, it displays the configured page. The problem is that when I go with https, the website shows the…
0
votes
0 answers

Rewrite to https://localhost:8000 rather than https://localhost

I use nginx in my MacOS to test third-party authentications such as Google and Twitter in localhost. As a result, on my local website https://localhost:8000/..., I could engage with www.funfun.io for third-party authentications. Here is the nginx…
SoftTimur
  • 337
  • 2
  • 8
  • 16
0
votes
0 answers

Debug third-party authentications in localhost with docker and nginx

We have a website where we just added third-party authentications such as Google, Twitter. I'm trying to test these authentications in localhost (MacOS). I'm running a docker to run nginx, here is docker-compose-dev.xml version: "3" services: …
SoftTimur
  • 337
  • 2
  • 8
  • 16
0
votes
0 answers

nginx reverse proxy not serving local domain correctly

I want to resolve a few domain names locally in my computer. To do this I added in /etc/hosts the following line: 127.0.0.1 example.com Then I configured nginx with the following config file example.com.conf server { server_name example.com; …
Mnemosyne
  • 131
  • 1
  • 7
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
  • 261
  • 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
  • 641
  • 2
  • 8
  • 23