How to check if a port is opened or closed on a VPS linux?

melviin

Member
Registered
Joined
Apr 22, 2013
Messages
21
Points
0
I am running a VPS for testing my blogs. I want to know how to check if a port is opened or closed on a VPS linux?

If it's opening then how to close it and vise versa?
 

Hassan

Well-known member
Registered
Joined
Nov 11, 2014
Messages
433
Points
0
Code:
nmap -sT -O localhost
Use iptables for close ports.
 

ElixantTechnology

Well-known member
Registered
Joined
Nov 26, 2014
Messages
281
Points
43
Does your VPS have cPanel or DirectAdmin on it? If so, I recommend installing ConfigServer Firewall; this will give you a nice interface to manage your firewall and some security tips/pointers
 

RDO Servers

Well-known member
Registered
Joined
Apr 3, 2015
Messages
1,027
Points
83
There are also several online port scanners you can use.

After checking everything server side, I like using these as a double check to see what is globally open.
 
Older Threads
Replies
2
Views
2,085
Replies
9
Views
4,051
Replies
9
Views
3,256
Newer Threads
Replies
9
Views
3,131
Replies
8
Views
2,825
Replies
3
Views
2,718
Replies
8
Views
2,482
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top