cannot add additional port

Under ports and addresses, I can add a 2nd port to listen on, then restart webmin, but the 2nd port does not work. When I check netstat -an I do not see anything listening on the new port, just the old. I have the same problem in usermin.

I used to be able to make usermin and webmin listen on multiple ports. Is there an additional step missing somewhere?

I already disabled the firewall so that all packets are allowed while I'm debugging.

Status: 
Closed (duplicate)

Comments

These are my Ports setting in usermin:

Ports and Addresses

Any address Port 20000 Any Address Port 8080 Any Address Port 20001

The results of netstat -ltnp after the usermin restart are:

> netstat -ltnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:20000               0.0.0.0:*                   LISTEN      13157/perl          
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      1589/mysqld         
tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      1631/spamd.pid      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1187/portmap        
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      7221/perl           
tcp        0      0 0.0.0.0:979                 0.0.0.0:*                   LISTEN      1221/rpc.statd      
tcp        0      0 208.82.84.5:53              0.0.0.0:*                   LISTEN      1169/named          
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      1169/named          
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1507/cupsd          
tcp        0      0 127.0.0.1:11000             0.0.0.0:*                   LISTEN      1844/lookup-domain- 
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      10351/smtpd         
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      1169/named          
tcp        0      0 :::993                      :::*                        LISTEN      1615/dovecot        
tcp        0      0 :::995                      :::*                        LISTEN      1615/dovecot        
tcp        0      0 :::110                      :::*                        LISTEN      1615/dovecot        
tcp        0      0 :::143                      :::*                        LISTEN      1615/dovecot        
tcp        0      0 :::80                       :::*                        LISTEN      1747/httpd          
tcp        0      0 :::21                       :::*                        LISTEN      1704/proftpd: (acce 
tcp        0      0 :::22                       :::*                        LISTEN      1499/sshd           
tcp        0      0 ::1:953                     :::*                        LISTEN      1169/named          
tcp        0      0 :::443                      :::*                        LISTEN      1747/httpd          

Port 20001 and port 8080 are not listed, but they should be. [edit added for clarification]

This worked on previous versions. My old servers on webmin version 1510 would support multiple ports. When I upgrade them to version 1530, only the first port listed in the ports and addresses works.

This is impacting operational users now. Can we get a fix soon, else I'll have to figure out how to roll back the deployed version.

This problem submitted via trouble ticket system with attachments and server access. This thread is now redundant.

See ticket #16744: "additional ports added to webmin or usermin fail"