Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose other port numbers #704

Open
anikfal opened this issue Jul 30, 2024 · 1 comment
Open

Choose other port numbers #704

anikfal opened this issue Jul 30, 2024 · 1 comment

Comments

@anikfal
Copy link

anikfal commented Jul 30, 2024

According to the documentations:
Configure iptables to allow TCP connections on ports 9581 and 9582 if you want to serve data publicly to CAVE clients and the Python API.

Can I choose other ports instead of the recommended ports in the documentations?

Is it possible by modifying /awips2/edex/bin/setup.env?

@anikfal
Copy link
Author

anikfal commented Jul 31, 2024

No matter if I change HTTP_PORT in /awips2/edex/bin/setup.env from 9582 to something else. It keeps using 9582 as the httpd port:

[awips@host-10-0-49-55 ~]$ sudo netstat -tpln
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:111             0.0.0.0:*               LISTEN      1/systemd           
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      5504/dnsmasq        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      4149/sshd           
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      4150/cupsd          
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN      15601/postmaster    
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      4563/master         
tcp        0      0 127.0.0.1:9020          0.0.0.0:*               LISTEN      15680/python        
tcp        0      0 0.0.0.0:388             0.0.0.0:*               LISTEN      16842/ldmd          
tcp6       0      0 :::5672                 :::*                    LISTEN      15813/java          
tcp6       0      0 :::9582                 :::*                    LISTEN      15683/httpd         
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
tcp6       0      0 :::8180                 :::*                    LISTEN      15813/java          
tcp6       0      0 :::22                   :::*                    LISTEN      4149/sshd           
tcp6       0      0 ::1:631                 :::*                    LISTEN      4150/cupsd          
tcp6       0      0 :::5432                 :::*                    LISTEN      15601/postmaster    
tcp6       0      0 ::1:25                  :::*                    LISTEN      4563/master         
tcp6       0      0 127.0.0.1:15003         :::*                    LISTEN      15783/java          
tcp6       0      0 127.0.0.1:15004         :::*                    LISTEN      16285/java          
tcp6       0      0 127.0.0.1:15005         :::*                    LISTEN      16307/java          
tcp6       0      0 127.0.0.1:15006         :::*                    LISTEN      16283/java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant