CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

How to change the Port for the Webserver / cannot access webvisu
https://forum.codesys.com/viewtopic.php?f=25&t=9810
Page 1 of 1

Author:  fabian.poettker [ Fri Jun 14, 2019 7:25 am ]
Post subject:  How to change the Port for the Webserver / cannot access webvisu

Hey,

I'm using CODESYS V3.5 SP14.
I created a WebVisu with some visualizations and downloaded it on the CODESYS Control Win V3.
When I try to access the homepage after starting the soft PLC I get the error message "cannot open document".
I already checked if the IP is correct and the name of the .htm file in the WebVisu settings.

I tryed to change the port (maybe there is another webserver running on the computer) in the CODESYSControl.cfg with
Code:
[CmpWebServer]
WebServerPortNr=9090

The PLC still starts the webserver with the default port.
Attachment:
Error.PNG


Does anyone have an idea what the problem here is and how I can change the port?

Thank you for your help!

Fabian

Author:  Edwin Schwellinger [ Fri Jun 14, 2019 8:48 am ]
Post subject:  Re: How to change the Port for the Webserver / cannot access webvisu

Should work.. which plc is it?

Author:  fabian.poettker [ Fri Jun 14, 2019 9:03 am ]
Post subject:  Re: How to change the Port for the Webserver / cannot access webvisu

It's the CODESYS Control Win V3 - x64 Version 3.5.14.0.

Any Idea why the port doesn't change after editing the .cfg file?

Author:  Edwin Schwellinger [ Fri Jun 14, 2019 6:11 pm ]
Post subject:  Re: How to change the Port for the Webserver / cannot access webvisu

Hi,
C:\ProgramData\Codesys....
In this location the Configfile is stored.

BR
Edwin

Author:  fabian.poettker [ Mon Jun 17, 2019 7:09 am ]
Post subject:  Re: How to change the Port for the Webserver / cannot access webvisu

Thank you very much!
I changed the .cfg file in the wrong path (C:\ProgramFiles\Codesys not ProgramData).

Now it's working :)

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/