Operating System - Linux
1823725 Members
3348 Online
109664 Solutions
New Discussion юеВ

open port 5555 and verify port is open

 
SOLVED
Go to solution
Gene Kenny
Regular Advisor

open port 5555 and verify port is open

I am trying to open port 5555 for HP Data Protector

From a previous post is used the following command:
Service mgmt-vmware stop
Esxcfg-firwall --openPort 5555,tcp,in,HpDp6
Esxcfg-firwall --openPort 5555,tcp,out,HpDp6
Service mgmt-vmware restart


Then I try a netstat -a and I do not see 5555 listed
I tried ssh servername -p 5555 the response I get is ssh_exchange_identification closed by remote host. (Not sure what the response should be)

3 REPLIES 3
Andrew Cowan
Honored Contributor
Solution

Re: open port 5555 and verify port is open

"lsof -i" and "netstat -af INET" should show if there is a port open, however if "iptables" is running it could be closing the port. Try running: "iptables -L" to see if the firewall is active.
Steven E. Protter
Exalted Contributor

Re: open port 5555 and verify port is open

Shalom,

By default iptables closes port 5555.

First try the connection with iptables down. Note that tcpwrappers can also block things.

iptables -A INPUT -s 192.168.0.55 --port 5555 -j ACCEPT

service iptables save

What the iptables statement does is accept input on port 5555 from 192.168.0.55 where that is the source ip address of the DP 5 system. Note the save statement will save that configuration past the next boot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Terlisten
Honored Contributor

Re: open port 5555 and verify port is open

Hello Gene,

if you host is an ESX server, please use "esxcfg-firewall" to open the port for incoming and outgoing traffic. You _must_ use telnet, not ssh. Please try the following command

telnet hostname 5555

Then you should get a response from the Data Protector agent. You should try this from you esx to localhost and from you cellmanager to the dns hostname oder ip-adress of you esx server.

Regards,
Patrick
Best regards,
Patrick