Connection to localhost refused

Karl Auer kauer at biplane.com.au
Tue Aug 13 05:10:00 UTC 2024


On Tue, 2024-08-13 at 14:26 +1000, Phil wrote:
> The start command is:
> dump1090-mutability --interactive --net --net-http-port 8080
> 
> Entering "localhost:8080" results in "connection refused".

Then almost certainly nothing is listening on port 8080. My 20 seconds
of googling suggests trying 30001 and 30002... Have you tried leaving
off the --net-http-port argument? The docs I found suggest that just --
net will give you a webserver on port 8080. But I cannot stress enough
that do not have the software installed :-)

You can find out what is listening where by using "netstat -t -l". Look
for lines that say "LISTEN" and look in the "Local Address" column for
the interface addresses and ports.

> I'm almost certain that in years gone by entering "localhost" into a 
> browser didn't result in a "connection refused" message, but of
> course I could be mistaken.

Trying to connect to an interface where nothing is listening has
resulted in "connection refused" for about as long as there has been a
TCP/IP protocol :-) Of course, when you tried there may always have
been something listening.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au, he/him)
http://www.biplane.com.au/kauer






More information about the ubuntu-users mailing list