Firewall blocks remoting connection.  
Author Message
Sandeep A





PostPosted: .NET Remoting and Runtime Serialization, Firewall blocks remoting connection. Top

Hi,

I am using remoting over a TCP channel. I have firewall enabled on my remoting server. This doesnt allow the clients to connect to the server. I want to bypass the server firewall for my application. This is a trusted intranet application running on Windows 2003 as server and Windows Xp as clients.

Can anybody help me in bypassing the server firewall using C# code

Thanks in advance !

-Sandeep



.NET Development29  
 
 
Sean Hederman





PostPosted: .NET Remoting and Runtime Serialization, Firewall blocks remoting connection. Top

You cannot bypass the firewall, you will have to add the application, or the ports your application uses to the firewalls exclusion list. Normally this is a manual operation which must be performed by the administrator of the machine.

 
 
Ely





PostPosted: .NET Remoting and Runtime Serialization, Firewall blocks remoting connection. Top

You will either have to add a rule to your firewall to let the traffic through, like Sean said, or change your code to use a port that you know is already open. Port 80 is usually a good choice because most firewalls are setup to let this traffic through, but there is a good chance you're win2k3 server is already running IIS on port 80. Could you use http channel instead and host your remoting objects in IIS

 
 
Sandeep A





PostPosted: .NET Remoting and Runtime Serialization, Firewall blocks remoting connection. Top

Thanks a lot guys !

-Sandeep