LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux VPS and open ports (https://www.linuxquestions.org/questions/linux-server-73/linux-vps-and-open-ports-4175733985/)

Jason.nix 02-18-2024 04:19 AM

Linux VPS and open ports
 
Hello,
When I scan the VPS IP address, I see a number of open ports:
Code:

# nc -v 1.2.3.4 5060
static.4.3.2.1.clients.Servers.de [1.2.3.4] 5060 (sip) open
#
# nc -v 1.2.3.4 2000
static.4.3.2.1.clients.Servers.de [1.2.3.4] 2000 (cisco-sccp) open

But there are no services running on these ports on the operating system:
Code:

# netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address    Foreign Address        State     
tcp        0      0 1.2.3.4:22      0.0.0.0:*              LISTEN   
tcp        0    224 1.2.3.4:22      5.6.7.8:40080          ESTABLISHED
tcp6      0      0 :::9090          :::*                    LISTEN

Do these ports belong to the VPS provider?

Thank you.

rkelsen 02-18-2024 09:50 PM

They seem to both be telephony related ports.

What does the provider's documentation say about open ports?

If in doubt, you could easily firewall those ports to protect the machine.

Jason.nix 02-19-2024 04:59 AM

Quote:

Originally Posted by rkelsen (Post 6484551)
They seem to both be telephony related ports.

What does the provider's documentation say about open ports?

If in doubt, you could easily firewall those ports to protect the machine.

Hello,
Thank you so much for your reply.
When no service is running on those ports, is it necessary to close those ports?

rkelsen 02-19-2024 05:07 AM

It's probably not necessary, but I'd do it anyway.

sundialsvcs 02-19-2024 09:01 AM

"Computers are terrible at knowing when to say 'yes,' but terrific at saying 'no!'" Use this fact to your advantage.

Jason.nix 02-19-2024 12:38 PM

Hi,
Thank you for all the replies.


All times are GMT -5. The time now is 12:26 PM.