I have a veritas backup server (windows server 2012) that I use for backup. One of the server I need to backup (Redhat Enterprise Linux 5.9) is failing to communicate with my backup server. I have checked the port that veritas backup uses , which is 10000 and did "telnet" from windows server to linux server but it failed with the following message:
connecting to ...could not open connection to the host, on port 23: connect failed
So, I checked port 10000 in linux server using netstat -apn|grep -w 10000
command and found that it is not displaying an output. Because of that, I did the following:
#iptables -I INPUT -p tcp --dport 10000 -j ACCEPT
#service iptables save
#service iptables restart
Then I tried to verify :
netstat -apn|grep -w 10000
but I am not getting any output,even though i have tried the same on a test linux server but I succeeded to open that port in test server. And the following is the output I got from the test server:
# netstat -apn | grep -w 10000
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 44080/beremote
tcp 0 0 :::10000 :::* LISTEN 44080/beremote
Then I went to backup server and did "telnet", it succeeded and then tried to add that test server to my veritas backup...and succeeded as well.
Here is the iptables -L
command output of my production linux server that failed in communicating:
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:10000
ACCEPT udp -- anywhere anywhere udp dpt:ndmp
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Any idea how to open or make that 10000 port listen?