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,408
Replies
9
Views
4,685
Replies
9
Views
3,649
Newer Threads
Replies
9
Views
3,590
Replies
8
Views
3,119
Replies
3
Views
3,109
Replies
8
Views
2,789
Latest Threads
Replies
1
Views
27
Replies
0
Views
190
Replies
1
Views
40
Replies
2
Views
83

Latest postsNew 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