question

Shashank S avatar image
1 Like"
Shashank S asked Shashank S commented

How to connect to Flexsim web server ?

I am running Flexsim Web Server on my computer. How can I connect to the model in my model directory from another computer in same network ?

FlexSim 19.0.0
web server
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Braydn T avatar image
0 Likes"
Braydn T answered Shashank S commented

@Shashank S

From the documentation: To do this, click the start button and type cmd.exe, which will open a black command prompt. Enter ipconfig and press enter. Your IPv4 Address should be entered as the URL in the browser in the device.

That will give you your IP address, and someone else can put in that IP address to access the webserver running on your computer.

Here is a link to the webserver documentation:

https://docs.flexsim.com/en/20.0/Reference/DeveloperAdvancedUser/Webserver/

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Shashank S avatar image Shashank S commented ·

Thank you @Braydn T

0 Likes 0 ·
Ben Wilson avatar image
0 Likes"
Ben Wilson answered Shashank S commented

Hi @Shashank S,

Adapted from this answer by @Jacob Gillespie:

Make sure the client you're connecting from is on the same local area network as the computer running FlexSim's webserver. Then connect using the local IP address of the machine running the webserver. You must also use the port that is configured in your flexsim webserver configuration.txt file. By default this is port 80, which is the standard port for http.

For instance, if the local IP address of your FlexSim webserver is 192.168.1.14, and it was serving over port 80, then in your client browser you would go to the url http://192.168.1.14. If you were serving using the custom port 8123, you would add the port number at the end, like this: http://192.168.1.14:8123.

If your webserver is running on a machine with a global IP address then you could connect to it over the internet using the global IP address.

In either case you may need to add firewall exceptions to your webserver system.

Be sure that the file paths and other configurations are set correctly in your flexsim webserver configuration.txt file.

See the webserver documentation for other details.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Shashank S avatar image Shashank S commented ·

Thank you so much @Ben Wilson

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.