Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a client / server application and both client and server are on windows 7. If I disable the firewall on the pc acting as a server everything works great but if I enable it back the client is not able to connect anymore. I'd like to find out what I have to allow on windows firewall settings but I have no clues about what's being blocked and why. Also enabling the whole traffic coming and going to a certain ip would be acceptable as a solution.

Thanks!

share|improve this question
    
What is the client/server application? Is it something you bought, or someone wrote custom? – bwall Jun 8 '11 at 17:14
    
Someone wrote custom... That's my problem. I don't know what are the process / services involved... And windows 7 firewall won't give any kind of feedback after blocking :/ – Pitto Jun 8 '11 at 17:17
up vote 2 down vote accepted

Try to shutdown the firewall,
then use the "netstat" command to see which ports its using,
then open them in the firewall.

http://en.wikipedia.org/wiki/Netstat

EDIT:
another option would be to use sysinternal's TCPview
http://technet.microsoft.com/en-us/sysinternals/bb897437

share|improve this answer
    
Ha! You did it, mate! :D Thanks. – Pitto Jun 8 '11 at 18:53
    
glad it helped, ran into a similar issue a few weeks ago – madmaze Jun 8 '11 at 18:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .