Gazebo | Ignition | Community
Ask Your Question
1

Multiple Instances of GZServer and GZWeb

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

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
2

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

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

Comments

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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 1,087 times

Last updated: Sep 07 '17