Jump to content

Address already in use


DaveStLou
Go to solution Solved by bpwwer,

Recommended Posts

I noticed this some time yesterday that my WeatherPoly Node Server was offline. On the dashboard, I found it's displaying a notice "Failed to start weather monitoring service."

Looking at the log, I found "Web server failed to start: [Errno 48] Address already in use"

I haven't changed anything on my configuration and I confirmed the port is correctly configured as "8188"

I use this NS to receive information from my weewx software and also, haven't made any changes over there.

Via ssh, I found this in the port list which looks correct to me:

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
polyglot python3.9  77205 5  tcp4   *:8188                *:*

What's the correct way to recover from this? Restarting the Node Server hasn't worked.

Thanks!

Link to comment
  • Solution

The node server is probably already running, just not connected to PG3.  

ps auxww | grep weatherstation.py  and see if it shows up in the list.  If so, then it needs to be killed before you can start it from PG3.   

Link to comment
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.5k
×
×
  • Create New...