Robotics StackExchange | Archived questions

What tcp/ip ports have to be open?

What are all the tcp/ip ports that ROS (melodic) needs to be able to use? Other than the one explicitly stated for roscore, I often see other port numbers. Is there an official list somewhere?

Asked by pitosalas on 2020-09-16 06:42:46 UTC

Comments

This reads like a duplicate of #q198150. Other related Q&As: #q12206. #q12534, #q67171 and #q328698 (and some others).

Summarising: apart from the port on which the Master runs (ie: 11311 by default) there is no default/fixed/configurable (range of) port(s).

Asked by gvdhoorn on 2020-09-16 09:50:33 UTC

Thanks, please post the answer and I will mark it correct. (The prompt for my question was unexplained incorrect data in some topics going between my nodes. it turned out that there was a firewall blocking some ports - not 11311 and once I opened them all it worked. This is a docker + VPN scenario.)

Asked by pitosalas on 2020-12-29 07:47:38 UTC

I've opted to close it as a duplicate instead, as that's what it was.

Asked by gvdhoorn on 2020-12-29 08:37:39 UTC

Answers