[PLUG] Browser not finding localhost

Rich Shepard rshepard at appl-ecosys.com
Thu Jan 9 20:18:26 UTC 2025


On Thu, 9 Jan 2025, Russell Senior wrote:

> Try:
>  netstat -tan | grep LISTEN

$ netstat -tan | grep LISTEN
tcp        0      0 127.0.0.1:8118          0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN 
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN 
tcp        0      0 127.0.0.1:2812          0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:37              0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:14982           0.0.0.0:*               LISTEN 
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN 
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN 
tcp6       0      0 :::631                  :::*                    LISTEN 
tcp6       0      0 :::14982                :::*                    LISTEN 
tcp6       0      0 ::1:783                 :::*                    LISTEN

> 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

127.0.0.1       localhost.localdomain   localhost

How do I add 127.0.0.1:1313? That's where Hugo lets me see my local website.

Thanks, Russell,

Rich


More information about the PLUG mailing list