Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have windows server 2008 and want to open a port say 2342 for tcp and telnet access

i have added a firewall exception create rule but when connecting to it returned "Connection Refused" error in all the following manners

  1. Through .net socket server application
  2. Telnet
  3. Tera Terminal

Please help me out as soon as possible and let me know if this is the right place for this question... if not please forward it?

share|improve this question

migrated from stackoverflow.com Oct 16 '09 at 16:51

This question came from our site for professional and enthusiast programmers.

    
What language? Also, please provide some sample code. We can't help you if we can't see how you're attempting to do it. –  Matt Ball Oct 16 '09 at 15:10

3 Answers 3

You should confirm that the server is, in fact, listening on the port you believe it is. Try using netstat in this manner:

netstat -ano|Find ":2342"

You should see something like:

TCP    0.0.0.0:2342          0.0.0.0:0            LISTENING

Please comment on this post with the results of this command.

share|improve this answer

The other source of the error could be a firewall. You should check your local configuration and consult with the network administrator as well.

share|improve this answer

It would also help if you could show the firewall exception you have added.

Further to Kyle Smiths answer what is the app or service listening on port 2342 and how have you configured it to listen on 2342?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.