How to change the Port for the Webserver / cannot access webvisu

  • fabian.poettker

    fabian.poettker - 2019-06-14


    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


    The PLC still starts the webserver with the default port.

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

    Thank you for your help!


    IMG: Error.PNG

  • eschwellinger

    eschwellinger - 2019-06-14

    Should work.. which plc is it?

  • fabian.poettker

    fabian.poettker - 2019-06-14

    It's the CODESYS Control Win V3 - x64 Version

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

  • eschwellinger

    eschwellinger - 2019-06-14

    In this location the Configfile is stored.


  • fabian.poettker

    fabian.poettker - 2019-06-17

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

    Now it's working


Log in to post a comment.