cancel
Showing results for 
Search instead for 
Did you mean: 

error ( Cannot Connect On Socket )

Vickie
Level 6
Hey Everybody,
 
I was working on a Issue,
The error ( Cannot Connect On Socket ) occurs while trying communicate a Client from Master server.
Checked BPCD logs and test the connectivity b/w client and master, which is not happening.
 
Found that "Windows Firewall" service is running on the server. Now by disabling the Firewal this issue could get resolved.
But my concern is ( as Firewall is used to protect the server from virus or any harmful objects ). Why we have to Disable it ?
Why NBU connection failed when server is Behind firewll ? Why can not we take backup along with Firewall Enabled ?
1 ACCEPTED SOLUTION

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you can make a connection when firewall is on..

but you need to add the netbackup ports to the firewall excepsssion list..(1556,13782,13724)

by default window firewall does not keep the ports in excepsssion list, becasue it does not know about it..

where ever there is any port requirement for any application that is the admin task to add them in excepstion list

trun on the firewall.. add the ports in excepstion list and check the comminication..

View solution in original post

12 REPLIES 12

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you can make a connection when firewall is on..

but you need to add the netbackup ports to the firewall excepsssion list..(1556,13782,13724)

by default window firewall does not keep the ports in excepsssion list, becasue it does not know about it..

where ever there is any port requirement for any application that is the admin task to add them in excepstion list

trun on the firewall.. add the ports in excepstion list and check the comminication..

Marianne
Level 6
Partner    VIP    Accredited Certified

Why we have to Disable it ?

Because it blocks all port connection - including NetBackup.

If you can tell Windows Firewall to allow comms on port 1556 (PBX) and vnetd (13724) it won't be necessary to disable it completely.

If NBU server and clients are on the same internal network and protected from external threats by the Company firewall, there is actually no need for individual firewalls.

Vickie
Level 6

Thanks Nagalla & Marianne,

But How can we check if the ports are listed in exception port at Firewall end?

Is there any commmand we can use or any GUI method to get confirmed as Ports are blocked ?

How to make sure about it ? So that I can reach out to concern team to make the changes.

 

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

see the below microsoft technote to add /remove  and see the exceptions

http://technet.microsoft.com/en-us/library/cc739482(v=ws.10).aspx

Vickie
Level 6
Hi Nagalla, thnks for sharing the link. But this is for windows2003, and the client server is windows 2008. 
If you have any link for windows2008 which can help to get the Firewall Exception Port list, please share.
 
I checked and found some rules in advance setting of Firewall. But Port number was not clearly mentioned there, there were service names mentioned like Remote Desktop Server not the Ports.

Marianne
Level 6
Partner    VIP    Accredited Certified

Please! This is a NetBackup forum.

Windows Firewall is a Microsoft product. Best to speak to your Windows Admin team or else post in a Microsoft forum.

All we can tell you from NBU point of view is which ports are needed for server/client comms.
You now need to go with this information to the admins of that firewall to open up ports.

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

agreed with Marianne.

please talk with your windows admin to get them add in firewall exception 

you can google if you are looking for win 2008

Vickie
Level 6
Thanks Marianne & Nagalla for your assistance
 
You guys says it well, I must go to Microsoft forum for issue or information regarding Microsoft product.
 
I just wanted to get confirmed from NBU end, as yes the Ports are not open for Communication. Is "telnet <client name> <port number>" the only way by which we can be sure about Port is not open.
 

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

i believe.. telnet is may be one of the ways.. not only way...

you can always check with the respective teams(network, OS) for more ways to find it.. :)

Marianne
Level 6
Partner    VIP    Accredited Certified

telnet is certainly taking NBU out of the equation.

Yes, if telnet does not work, you need to talk with OS/security admins.

Vickie
Level 6
Thanks Nagalla & Marianne,
 
Issue resolved after listing the ports in firewall exception list

epsilon22222
Level 4

Running the built command "bptestbpcd" would also assist you with this.

Generally found in: <install path>/netbackup/bin/admincmd/bptestbpcd

Typical command you can run using this:

bptestbpcd -host <hostname> -verbose

http://www.symantec.com/business/support/index?page=content&id=HOWTO43696

Obviously, the server would have to have connectivity for this command to demonstrate its connection attempts, otherwise it will give you an error.