UDP requests with docker on Debain VPS
... / UDP requests with docker ...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

UDP requests with docker on Debain VPS

by
AdrienT6
Created on 2018-06-28 14:40:41 (edited on 2024-09-04 11:56:15) in VPS-old

Hi there,
I've a debian VPS that I don't manage to reach with UDP.

I deactivated the firewall.

When run this simple udp server `docker run -p 5678:5678/udp itstarting/go-simple-udp-server` :
- `nc -z -v -u localhost 5678` connects all right
- But if I try from outside `nc -z -v -u XX.XX.XX.XX 5678` the container is not reached.
- A similar TCP request is working (with a simple http server).

Is there something I need to do allow UDP on my VPS or maybe it's a docker setting to allow UDP from outside?

Thanks,

Adrien



What works :


2 Replies ( Latest reply on 2022-06-03 07:12:14 by
AdrienT6
)


I've a debian VPS that I don't manage


Please ask to the person who manages it.

Hi,
Very badly put on my part : "I've a debian VPS. I'm not able to reach it using UDP"

Hello,

without docker, does UDP work ?

Cordially, janus57

Good point. It doesn't seem to work either. I do
`nc -ul 2222`
it's not reachable even from its localhost (`nc -zvu locahost 222`)

A debian issue then?
(I'm out of my depth here, and appart from these netcat commands I didn't find much on th internet)