Skip to content

Commit f08ce94

Browse files
authored
dd MacOS troubleshooting steps for "RLException: Unable to contact my own server" error
Added detailed instructions to resolve the "RLException: Unable to contact my own server" error on MacOS. Instructions include setting the ROS_MASTER_URI and ROS_HOSTNAME to 127.0.0.1 and configuring the /etc/hosts file.
1 parent 4cd51ce commit f08ce94

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/GettingStarted.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,13 @@ In the conda environment activation is the ROS activation included. There is no
156156
micromamba activate ros_env
157157
rviz2
158158
```
159-
160-
159+
If you run into "RLException: Unable to contact my own server" error on MacOS here are the instructions that you need to follow in order to resolve that issue:
160+
- Set up ROS_MASTER URI at 127.0.0.1 on port 11311 : `export ROS_MASTER_URI=http://127.0.0.1:11311`
161+
- Set up ROS_HOSTNAME : `export ROS_HOSTNAME=127.0.0.1`
162+
- Open the hosts file with a text editor like nano: `sudo nano /etc/hosts`
163+
- Add the following lines if they are not already present: `127.0.0.1 macbookpro` and `127.0.0.1 localhost`
164+
- Then save the file and restart your terminal.
165+
161166
## Updating
162167
Updating all packages in your environment is as easy as:
163168

0 commit comments

Comments
 (0)