question

Shashank S avatar image
0 Likes"
Shashank S asked Shashank S commented

Unable to use Flexsim Web Server.

1.png

I am trying to make use of Flexsim Web Server. I have downloaded the set up for web server & installed the application. But when I am trying to open the application it is giving me some errors. Snapshot attached. Anyone who has successfully connected to web server and ran model, can you please help ?Thanks in Advance.

@Ben Wilson I saw one of your answer https://answers.flexsim.com/questions/69011/is-it-possible-to-run-flexsim-models-on-aws-with-o.html?childToView=69938#comment-69938.

I do have pretty similar requirement. Do you have any help file or document which can help me configuring the server. Really appreciate the help.

FlexSim 19.1.2
web server
1.png (26.7 KiB)
· 5
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Shashank S, a quick glance at your error message suggests a port conflict - the server can't start on port 80. Are you running any other servers on port 80?

There is a file "flexsim webserver configuration.txt" that you can edit to make sure the directories are pointing to the correct locations, to change the port you're serving on, etc. Double check all the info there, perhaps try another port number, save the file, then try again starting the web server.

Comment back to let us know the results.

0 Likes 0 ·
Shashank S avatar image Shashank S Ben Wilson ♦♦ commented ·

Hi, @Ben Wilson . Thank you for your quick reply.

I will surely let you know once I try the suggestions by you.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Ben Wilson ♦♦ commented ·

Hi @Shashank S,

Were you able to figure out the problem? Can you let us know the solution? Or are you still trying to figure it out? What have you tried so far?

0 Likes 0 ·
Shashank S avatar image Shashank S Ben Wilson ♦♦ commented ·

Hi @Ben Wilson,

I am still working on this with our IT team, will let you know once I try implementing your suggestion regards. Need to go through some procedures before that.

0 Likes 0 ·
Show more comments

1 Answer

·
Ben Wilson avatar image
1 Like"
Ben Wilson answered Shashank S commented

@Shashank S

Your error-1.png is not actually an error, it is the correct behavior indicating that your web server is running.

You need to visit http://127.0.0.1:8080 to view what is being served, assuming that port 8080 is still the port you have set in your most current "flexsim webserver configuration.txt" as it is in your attached example. Putting the ":8080" at the end of the local IP address 127.0.0.1 is the key to viewing what is being served on port 8080.

· 7
5 |100000

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

Shankar Narayan avatar image Shankar Narayan commented ·

Hi @Shashank S / @Ben Wilson

is it possible to post a step by step guide for newbies trying to play with the Flexsim webserver and Flexsim 19.1.x version and above? We have similar use cases for sharing models between teams and end users.

Thanks

1 Like 1 ·
Shashank S avatar image Shashank S commented ·

@Ben Wilson Thank you for the clarification. I need to work on my IT basics, seems so.

Ben, I am trying to understand the advantages of using Flexsim Web Server over using normal Flexsim instance, but cannot think of any at this point. Can you please give me couple of points to start with ? So I can explore it further from there.

Sorry for asking so many questions and thanks in advance.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Shashank S commented ·

@Shashank S,

For regular model building and running, it is definitely better to just use a normal FlexSim instance.

If you develop model that you need others to be able to open and run, perhaps allow them to change a few parameters, and you don't want them to have to install the software or know how it works, that is one use case where the webserver is a valuable asset. In this case the model builder can create the simulation model and host it on a FlexSim webserver. The modeler can create a custom interface allowing the users to change basic things about the model. The users can log in via their web browser, open the model, customize their model settings, run the model, see the animation, get the outputs, etc.

There may be other use cases, but that is the main one.

1 Like 1 ·
Shashank S avatar image Shashank S Ben Wilson ♦♦ commented ·

@Ben Wilson Thanks a lot. I am finally able to make the web server run the models, upload models to it.

Now I Need your help in Hosting the Web Server part as well. How should I go ahead with this ? Does it have any standard process ? Like may be some document.

Does it attract any extra cost if I am sharing my models through web server ?

Sorry for so many basic questions, I am trying to enter in this area for the first time.

0 Likes 0 ·
Show more comments

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.