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,523
Replies
9
Views
5,005
Replies
9
Views
3,828
Newer Threads
Replies
9
Views
3,766
Replies
8
Views
3,299
Replies
3
Views
3,322
Replies
8
Views
2,939
Recommended Threads
Replies
8
Views
3,799
Replies
0
Views
2,427
Replies
10
Views
5,985
Replies
2
Views
2,267

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