Portal Home > Knowledgebase > Articles Database > problem with ports


problem with ports




Posted by robocap, 05-16-2008, 09:04 AM
Hello i have problem with ports in server how may i check ports? for example 37549,53377,17235 and ... i want know this ports are AVAILABLE or no Thanks

Posted by SysAdminMan, 05-16-2008, 09:12 AM
If it's a linux server ... "netstat -tula" should show you what ports are listening and established. and "grep 37549 /etc/services" would should you if that port is registered with the system for anything (although that doesn't mean it being used, or will be used). Matt

Posted by robocap, 05-16-2008, 09:25 AM
Hello Thanks this is on vps i run it part12:/# netstat -tula Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost.localdom:1235 *:* LISTEN tcp 0 0 localhost.lo:postgresql *:* LISTEN tcp 0 0 localhost.localdom:7505 *:* LISTEN tcp6 0 0 *sh *:* LISTEN tcp6 0 0 *:www *:* LISTEN udp 0 0 *:radius *:* udp 0 0 localhost.localdo:55444 localhost.localdo:55444 ESTABLISHED udp 0 0 *:radius-acct *:* udp 0 0 *:13630 *:* part12:/# grep 37549 /etc/services part12:/# but is not ok this port port 80,22 are ok http://i32.tinypic.com/9idxex.jpg please see how may i can use of this port?(37549,53377,17235 and ...) Thanks of you

Posted by SysAdminMan, 05-16-2008, 09:28 AM
I'm not sure I understand. What do you want to do with that port?

Posted by robocap, 05-16-2008, 09:34 AM
i am manager server root i install openvz on this server and i install openvpn on this vps openvpn wokring now but have problem with sock(port 11033,37549,53377,17235 and ...) my customer need to this ports Thanks

Posted by robocap, 05-16-2008, 10:37 AM
I run command middle on original server : [root@localhost /]# service iptables restart Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: mangle nat filter [ OK ] Unloading iptables modules: [FAILED] ?

Posted by helpyoulinux, 05-16-2008, 11:58 AM
I think, you dnt have iptables modules installed on your VPS. Also, regarding the netstat, it will diplay port, only if there is some services running on it.

Posted by robocap, 05-16-2008, 12:01 PM
root@dl ~]# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 30240 dl.soft-good1.com:http ::ffff:78.39.7:cypress-stat ESTABLISHED tcp 0 0 dl.soft-good1.com:http ::ffff:217.219.16.130:36207 TIME_WAIT tcp 0 0 dl.soft-good1.com:http ::ffff:217.219.16.130:36327 TIME_WAIT tcp 0 0 dl.soft-good1.com:http ::ffff:217.219.16.130:36340 FIN_WAIT2 udp 0 0 localhost.localdomain:39478 localhost.localdomain:39478 ESTABLISHED Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 10 [ ] DGRAM 37829954 /dev/log unix 2 [ ] DGRAM 37832172 unix 2 [ ] DGRAM 37830663 unix 2 [ ] DGRAM 37830145 unix 2 [ ] DGRAM 37830120 unix 2 [ ] DGRAM 37830106 unix 2 [ ] DGRAM 37830092 unix 2 [ ] DGRAM 37830078 unix 2 [ ] DGRAM 37830042 Thanks please see have any way that allow to all port on server?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Buying a new server (Views: 588)