Blocked ROSmaster port for multimaster_fkie package? [closed]

asked 2019-09-27 04:32:23 -0600

Tima1995 gravatar image

updated 2019-09-27 09:57:10 -0600

Hey there,

I am right now trying, to run parallel simulations on my PC, all having one rosmaster and one corresponding simulation running. Here, I was no problem to open more than one Gazebo simulation. My problem lies in having more than one rosmaster on different ports.

I am using the multimaster_fkie package and did the following for my second terminal for the second rosmaster and simulation (the first one is running on port 11311):

tab 1: roscore -p 11312

tab 2:
export ROS_MASTER_URI=http://localhost:11312

rosrun master_discovery_fkie master_discovery _mcast_group:=

Here, the following error occurs when I do the rosrun command:

[INFO] [1569575731.826636]: Create multicast socket at ('', 11511)
[FATAL] [1569575731.827075]: Unable to bind multicast to interface:, check that it exists: [Errno 98] Address already in use
[ERROR] [1569575731.827957]: Traceback (most recent call last):
  File "<string>", line 108, in main
  File "/home/ifl/catkin_ws/src/multimaster/fkie_master_discovery/src/fkie_master_discovery/", line 588, in __init__
  File "/home/ifl/catkin_ws/src/multimaster/fkie_master_discovery/src/fkie_master_discovery/", line 620, in _init_socket
    self.socket = DiscoverSocket(self.mcast_port, self.mcast_group, send_mcast=self._send_mcast, listen_mcast=self._listen_mcast)
  File "/home/ifl/catkin_ws/src/multimaster/fkie_master_discovery/src/fkie_master_discovery/", line 202, in __init__
    self.bind((to_group, port))
  File "/home/ifl/anaconda2/lib/python2.7/", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Error while start master_discovery: [Errno 98] Address already in use

I tried both, roscore -p 11312 and roscore --port=11312 to get the changed port. But the problem remains..

Do you guys have a solution for that problem?


edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Tima1995
close date 2019-10-26 03:06:51.206499