TCP/UDP server hangs

17 views
Skip to first unread message

Serge Robitaille

unread,
Jun 26, 2025, 1:00:57 PMJun 26
to kplex
Hello Keith,
Maybe you can help with this ?
When Kplex initializes with the following server config, the port hangs and I need to restart Kplex service. This happens when only when the IP address can't be reach. The address used reside outside my network and the gateway is not always ON. 
[udp]
address=999.999.999.999 
port=9999
direction=out
ofilter=~AIVDO:~AIVDM/30:-all

Is this normal udp port behaviors ?
Is there a way to detect this condition ?
Any suggestion of a work around ? 
Thanks
Serge

Keith Young

unread,
Jul 20, 2025, 2:03:39 PMJul 20
to kplex
Are there any messages logged and can you add a -d3 for additional logging?  "Reachability" shouldn't matter for udp interfaces. udp interfaces tend to disappear:
* If the interface you're using has a dynamic address which changes
* if there's no route to your destination

A static IP address (or at least getting your dhcp server to not change your address) is a solution to the first problem.  Hard coding a default  route to your router whether there's anything on the other side or not might get you round the second point.  The title also mentions TCP.  For remote servers which are intermittently reachable,  check out the persist option (although the above will also apply)

Keith
Reply all
Reply to author
Forward
0 new messages