-
Hello, I am running Healthchecks under Python 3.11 virtualenv with uWSGI and Nginx. The web app runs fine, but I noticed it is listening on a seemingly random UDP port. I could not find this in the documentation, and wondered if this is a security issue or normal. The port does not open immediately on boot but it starts up after some time elapsed. Here is what I found so far.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think this is the UPD socket for submitting statsd metrics. I can reproduce the same thing locally:
If I then comment out these two lines and repeat the experiment, I don't see the open UDP socket. |
Beta Was this translation helpful? Give feedback.
I think this is the UPD socket for submitting statsd metrics.
I can reproduce the same thing locally:
manage.py sendalerts
,netstat
does not show an open UDP socket yetsendalerts
sends an alertnetstat
now shows an open UDP socket belonging to thesendalerts
processIf I then comment out these two lines and repeat the experiment, I don't see the open UDP socket.