Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1154 Vistas

Is there a way to get a list of ports used by an Odoo.sh instance and what they are used for?

Avatar
Descartar
Autor

Thank you! Do you know if Odoo use Munin to monitor Odoo.sh and what port it resides on?

Mejor respuesta

In the shell 

#ss -tulnp

Netid      State       Recv-Q      Send-Q           Local Address:Port              Peer Address:Port      Process                                                                                                    

tcp        LISTEN      0           32                    10.0.0.7:41807                  0.0.0.0:*          users:(("python3 /home/o",pid=960541,fd=12),("python3 /home/o",pid=960541,fd=10),("python3 /home/o",pid=960541,fd=3))

tcp        LISTEN      0           32                    10.0.0.7:42109                  0.0.0.0:*          users:(("python3 /home/o",pid=952995,fd=12),("python3 /home/o",pid=952995,fd=10),("python3 /home/o",pid=952995,fd=3))

tcp        LISTEN      0           32                    10.0.0.7:39939                  0.0.0.0:*          users:(("sh-webshell",pid=965729,fd=10),("sh-webshell",pid=965729,fd=3),("python3 /opt/od",pid=965156,fd=12),("python3 /opt/od",pid=965156,fd=10),("python3 /opt/od",pid=965156,fd=3))

tcp        LISTEN      0           128                    0.0.0.0:8889                   0.0.0.0:*          users:(("sh-webshell",pid=965729,fd=11)) 

 But there is an nginx on an other box to connect to those port

Avatar
Descartar
Autor

Thank you! Do you know if Odoo use Munin to monitor Odoo.sh and what port it resides on?