question

Kyle R2 avatar image
0 Likes"
Kyle R2 asked Ben Wilson edited

FlexSim Webserver not found

Hi,

I'm in the process of installing the webserver on my machine. I have set the configuration file up using port 1001. (The default port 80 is already used). When I run the webserver, the port appears to be listening correctly but when I navigate to the URL using 127.0.0.1, I get a 404 error. Specifically: "HTTP Error 404. The requested resource is not found."

I have installed the webserver many times in the past and have never come across a 404 error before. I've checked my configuration and can't see any obvious errors. I've attached a screenshot of my configuration settings.

I've tried looking at previous FlexSim answers but couldn't find any involving a 404 error. Any ideas would be much appreciated.

Thanks.


Configuration.png

FlexSim 21.0.10
webserver
configuration.png (115.6 KiB)
5 |100000

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

1 Answer

Ben Wilson avatar image
0 Likes"
Ben Wilson answered Ben Wilson edited

In your web browser, to visit port 1001 you must go to a URL like this:

http://127.0.0.1:1001

Leaving the :portnum off the end of the URL makes the browser default to the standard HTTP port (80) or if the address is HTTPS, the standard secure port (443). To hit any other port (like your custom 1001) you must add :portnum to the end of the domain portion of the URL.

5 |100000

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