Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Why is my browser not connecting to localhost 8080?


Asked by Baylor Walter on Dec 07, 2021 Browser information



Hey Emmanuel the following code is what I got from the command prompt: C:\users\my computer>cd Desktop C:\users\my computer\Desktop>cd open-search-server C:\users\my computer\Desktop\open-search-server->start.bat The system cannot find the file .bat on a chrome browser or Internet Explorer. localhost:8080".
One may also ask,
Jair Rillo Junior wrote: Chec it out the port number. localhost:8080 is different than 127.0.0.1 (the second address has not the port number, hence, by default it uses port 80). Try out also: http://localhost
Additionally, Making it simple, localhost as a web address connects to your local machine, where in this case you have Apache installed as web server. The second part, :8080, means connect to port 8080 of that web address. If you don't specify it, your web browser will connect to the default webserver port, which is port 80.
Subsequently,
localhost:8080." This sounds like a firewall issue. It would help if you show the distro you are using. But basically the port is beling blocked by either your firewall or your router. That is where I would look. There are many reasons that lead to your problem. I m listing some of the checks that should be done. 1.
Thereof,
When a URL is parsed and used to target a webserver, the port selection is not available from the hostname resolution mechanism - it ONLY resolves host addresses. So if you don't want the default port (80), you have to explicitly provide a port ID (8080). That's part of your problem. The second part has to do with hostname resolution.