The Silence Map

Asked on Super User by Ross, 1 year ago. No reply there for at least a week.

A UDP Server can't send response back to sender via router

For testing purposes I have written a UDP Client and a UDP Server app listening on a specific free port. This works well on a local LAN between computers but not when I put the UDP Server app on a remote server. The client end is behind a residential router. I send text from the client to the server, and the server receives this text and tries to send a response back to the sending IP/Port, but that produces a Socket Error 10054, Connection reset by peer on the UDP Server app. The sender port in the packet has been modified by the router to a random number, as it should, and that is where the

This question is one of 1 report of the same problem:

A UDP Server can't send response back to sender via router

Nobody has answered it yet, here or anywhere.

Related problems

Question by Ross on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.