AXC F 2152 Web Port for HTTP

By default HTTPS works for 2152 Controller, but i need to access Port 80 HTTP and get response.
How can i add Port 80 to work?

Hello!
First of all, take a look at /etc/nginx/nginx.conf. It describe basic behavior of eHMI underlying web-server. So you can try to deal with it.
Best regards

Hello rnsas,
you should be able to connect to Port 80 by default.
Please start the PowerShell and execute the following command:
test-netconnection 192.168.1.10 -port 80
Please find the additional information in PLCnext Info Center:
Security - Firewall (plcnext.help)
BR Eduard

Hello rnsas,</p>you should be able to connect to Port 80 by default.</p>Please start the PowerShell and execute the following command:</p>test-netconnection 192.168.1.10 -port 80</p>Please find the additional information in PLCnext Info Center:</p>[Security - Firewall (plcnext.help)</a></p>BR Eduard</p>

Yes, the port is enabled, but it used by nginx daemon and there is redirection bind in /etc/nginx/nginx.conf. So you can’t work with 80-port without several changes in configuration.
изображение.png

Hello rnsas, hello Oleksandr,
yes, the Port 80 is the reserved default web server port. But before you change the default configuration in “/etc/nginx/nginx.conf”, please check if the requirement can be fulfilled using port forwarding via natig/nftables. The benefit is that the configuration can be reversed by deactivating the created nftabales list. You can forward from port 80 to destination port e.g. 4200 (that will be used by your application), please see the following documentation (it is similar use case):
Knowledge Portal ese portal I have not tested it in this type of usage, but if it works, it can be a possible solution.
BR Eduard

Thank you fore more deep-in explanation. It is very important notice about nftables, I missed it.
But unfortunately, the link you provide, doesn’t work, it require some certificate authority.
Best regards

Hello Oleksandr,
the Knowlege Base should be available for customer, please open the following link: Service & Support | Phoenix Contact
Then, please open “Knowlege Base” (for access the customer registration is needed) and search for How To:
“How can I create NAT configuration using nftables on AXC PLCnext controllers?”
Please let me know if you can’t find this topic or don’t have access to it.
Best Regards
Eduard

Hello Oleksandr,</p>the Knowlege Base should be available for customer, please open the following link: [Service & Support | Phoenix Contact</a></p>Then, please open “Knowlege Base” (for access the customer registration is needed) and search for How To:</p> “How can I create NAT configuration using nftables on AXC PLCnext controllers?”</p>Please let me know if you can’t find this topic or don’t have access to it.</p>Best Regards</p>Eduard</p>

I find the article by steps you describe. Thank you.