[PLUG] Browser not finding localhost

Russell Senior russell at personaltelco.net
Thu Jan 9 19:35:39 UTC 2025


Try:

  netstat -tan | grep LISTEN

That should tell you what ports on your local system are listening for
TCP connections.

If you see the ports you expect, then start to consider whether
localhost is resolving. The usual place for that to happen is in
/etc/hosts. On my system, I see something like this in /etc/hosts:

  127.0.0.1       localhost.localdomain   localhost


-- 
Russell Senior
russell at personaltelco.net

On Thu, Jan 9, 2025 at 8:20 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
> Opening a tab in Brave I try to open http://localhost:1313/ and
> http://localhost:631/ with the browser responding `localhost refused to
> connect.
>
> Yet,
> $ ps ax | grep httpd
>   1556 ?        Ss    11:09 /usr/sbin/httpd -k start
>   1569 ?        Sl     0:00 /usr/sbin/httpd -k start
>   1570 ?        Sl     0:00 /usr/sbin/httpd -k start
>   1586 ?        Sl     0:00 /usr/sbin/httpd -k start
> 16288 pts/3    S+     0:00 grep httpd
>
> Where do I look for the reason neither my local web site nor CUPS admin
> pages will load?
>
> TIA,
>
> Rich
>


More information about the PLUG mailing list