Please use this template for troubleshooting questions.
My issue: Not possible to address multiple ports to one ip-address
How I encountered the problem: the llsten directive 192.168.1.25:80 and in a other website config file iisten 192.168.1.25:8080 are not giving the ports in sudo netstat -lntp.
Only one listen set can be selected
Solutions I’ve tried:
Version of NGINX or NGINX adjacent software (e.g. NGINX Gateway Fabric):
NGINX 1.29.4 Ubuntu 24.04
Deployment environment:
To create more security for a ERP application, the need is there to use a other port then for the websites already active
Minimal NGINX config to reproduce your issue (preferably running on https://tech-playground.com/playgrounds/nginx for ease of debugging, and if not as a code block): (Tip → Run nginx -T to print your entire NGINX config to your terminal.)
NGINX access/error log: (Tip → You can usually find the logs in the /var/log/nginx directory.)
No errors in any log file