Skip to content

DDS-Router doesn't work once setting ROS_LOCALHOST_ONLY in Humble #488

Closed Answered by juanlofer-eprosima
Barry-Xu-2018 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Barry-Xu-2018 , this is a known problem affecting older Fast-DDS versions (including v2.6 present in Humble). The explanation and fix was introduced here. If willing to enforce localhost communication in this case you would need to also add a whitelist to your local router participants, as shown here, i.e.:

# CONFIGURATION VERSION
version: v4.0


##################################
# PARTICIPANTS
participants:

  - name: ROS_2_Domain_0
    kind: local
    domain: 0
    whitelist-interfaces:
      - "127.0.0.1"

  - name: ROS_2_Domain_1
    kind: local
    domain: 1
    whitelist-interfaces:
      - "127.0.0.1"

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Barry-Xu-2018
Comment options

Answer selected by Barry-Xu-2018
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