Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Address already in use

Featured Replies

Posted

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!

Solved by bpwwer

Go to solution
  • 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.   

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.