how to see ports in guest vm

baboo

Member
Nov 14, 2010
58
0
6
I'v e been having a problem with running tomcat in vm. Everytime I launch the app server it says it cannot connect due to address already in use.

However, netstat and lsof due not show 8080 in use. I ran those commands on host and it doesn't show any port being reserved.

It looks as if proxmox console is using java. Not trying to say this is proxmox fault, but trying to understand if proxmox could be causing this issue. What is very interesting is that I cannot see 8080 being used. Never have I seen that before.

any insights from you experienced vm users would be appreciated.
 
I'v e been having a problem with running tomcat in vm. Everytime I launch the app server it says it cannot connect due to address already in use.

However, netstat and lsof due not show 8080 in use. I ran those commands on host and it doesn't show any port being reserved.

It looks as if proxmox console is using java. Not trying to say this is proxmox fault, but trying to understand if proxmox could be causing this issue. What is very interesting is that I cannot see 8080 being used. Never have I seen that before.

any insights from you experienced vm users would be appreciated.
Hi,
normaly netstat -an should show all open ports...
can you bind the port with netcat?
Code:
nc -l -p 8080 127.0.0.1
Perhaps you must disable the ipv6 for tomcat?

Udo
 
Udo: thanks for replying. You were right, the ipv6 was the problem. This is the second time you have helped me.

much thanks