Gazebo | Ignition | Community
Ask Your Question

Multiple Instances of GZServer and GZWeb

asked 2017-09-07 08:29:35 -0600

alicanuzunn gravatar image

I am newbie to gazebo and gzweb. What I am doing is to connect multiple users to different sessions of gzweb on my computer. Once a user logged in with their account, system will login to their account on terminal and create a gazebo platform with gzweb. I can run multiple gzweb instances on different ports with different hostnames but, all of them connects to one instance of gzserver. I tried exporting GAZEBO_MASTER_URI variable to different hostnames and ports according to gzweb's host and port. gzserver starts multiple times while users are different but never connects to gzweb or vice versa. Any help would be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-07 13:10:16 -0600

iche033 gravatar image

gzweb's websocket server's address is currently hardcoded to 7681 so you'll probably need to manually change it to a differnt port for each gzweb you run. Here's the port number on server side, and you'll need to update the client side too.

edit flag offensive delete link more


thank you, I just made it according to your answer, in addition, I changed the gz3d.js's port too.

alicanuzunn gravatar imagealicanuzunn ( 2017-09-08 02:04:02 -0600 )edit

Question Tools

1 follower


Asked: 2017-09-07 08:29:35 -0600

Seen: 1,053 times

Last updated: Sep 07 '17