question

Mathangi avatar image
0 Likes"
Mathangi asked Jeanette F commented

What is the Ip or repo that WEBSOCKETS in Flexsim webserver is getting called ?

  • Our team is exposing simulations via web. The web application streams 3D data via websockets (socekt.io).
  • The web app does not face the the public internet, the users will only access this internally.
  • The event streaming connection via websockets (socket.io) which appears to be blocked
  • We don't know how to track the source IP connection
  • we don't know what needs to be granted access

FlexSim 24.0.0
flexsim 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Mathangi, was Jacob Gillespie's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jacob Gillespie avatar image
0 Likes"
Jacob Gillespie answered Jacob Gillespie edited

Are you trying to put the FlexSim Webserver behind a proxy server? If so you have to handle the upgrade request to get websockets working.

https://answers.flexsim.com/questions/135853/webserver-not-working-behind-prefixed-proxy.html

https://docs.flexsim.com/en/24.2/Reference/DeveloperAdvancedUser/Webserver/Webserver.html#nginx

I'm confused by your question. I'm not sure what you are talking about when you refer to a source IP. Any more details might help.

5 |100000

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