Hello,
I am trying to start a project in PLC Next Engineer with a HMI Web Server. But I get an error stating that the port ‚443‘ is used.
Is it possible to change the port used by the HMI Web Server?
Best regards.
Since the HMI uses nginx as the web server, I think this can be achieved by modifying this line in the server section of the nginx.conf file:
listen 443 ssl;
* Note: Any changes you make to this file (or any system file) will be undone during a Type 1 or a Type 2 reset.
* Changes to system files may cause the system to break after a firmware upgrade.
Out of interest, what are you running on the PLC that is blocking port 443 on the PLC?
Hi Martin,
thank you for the answer. I forgot to mention that I am trying to run a project in a simulation mode. Is it possible to run it in simulation mode and access its HMI?
What about other ports e.g. Modbus TCP 502 ?
Best regards.
Is it possible to run it in simulation mode and access its HMI?Yes, as mentioned in the Info Center, the HMI can be accessed on port 5050:
PLCnext Engineer Simulation The PLCnext Engineer Simulation makes it more convenient to test and optimize your PLCnext Engineer applications, because developers no longer depend on a hardware target attached to their computer. What about other ports e.g. Modbus TCP 502 ?This is not supported by the default installation, but I think it would be possible if you forward the port from the Qemu emulator to the host in the qemu network config file. The Qemu documentation should be able to help with this.
Hi maltarLED,
Did you find any solution for comunicate with the modbus tcp on the simulator?
Best regards,
Gerome
Hi,
I gave up that intention. Martin posted a possible solution how to achieve this. If you manage to solve the problem, feel free to share the solution.
Best regards.