Skip to content

UDP Server not working #29

Answered by jvde-github
lump93 asked this question in Q&A
Sep 30, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi, thanks for your question. You could first try to see if it works on your local machine. For example, start AIS-catcher with

AIS-catcher  -n -u 127.0.0.1 12345

Which should produce AIVDM lines. Try in another terminal on that local machine:

nc -l -u 127.0.0.1 12345

This listens to the UDP messages coming in. If this does not work, might be something with the internal UDP server of the program.

If you encounter any issues, you can also pipe the UDP lines from screen into netcat and send:

AIS-catcher  -n  | nc -u 127.0.0.1 12345

Typically what goes wrong is that someone puts the IP address of the Raspi as UDP address, but it should be that of the remote machine. But since you test wit…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lump93
Comment options

Answer selected by jvde-github
Comment options

You must be logged in to vote
1 reply
@lump93
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants