Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW DO I USE PORTS IN .NET

Status
Not open for further replies.

gruiz1998

Programmer
Jul 5, 2005
41
MX
¡Hi everybody!

I'm a newby using .NET and I've been told that ports can be configured in .NET applications so that firewall doesn't need to be completely disabled in order to establish and/or keep comunication in the network. How is this done?, are there recomendations using ports?

I am grateful of receiving Any piece of information and/or advice.

Regards!!!

Genaro.
 
1) There's a capslock key on the left side of your keyboard, you may want to ensure it has not been pressed prior to posting.

2) You'll probably have to change the firewall settings in the firewall itself. If your firewall has a web interface, you may be able to set up a VB.Net app that will interact with it, but the app would have to be specificly tailered to what ever firewall you have.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Thanks for the answer ThatRickGuy, however What I was trying questioning is: where can I find information to specificly tailor the application to a firewall?
 
I don't know if there is a whole lot of information available. If you have a web based firewall, you should be able to use the WebRequest object to communicate with it. As for what you need to send/parse, that's up to you working through the HTML that the interface gives you.

Working with an oldschool COM connection to a firewall would likely be easier once you have the COM port connected. But you'll probably need documentation from the firewall's manufacturer to know what commands you can send it. The USB connection firewalls work in the same way.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top