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 want to know if port 139 TCP is open from a server on one domain to another. How would I do this?

I know that I can use Telnet to test port 25 to a server with Exchange installed - but that only works because Exchange answers the telnet request - is that right?

How do you test the link if there is no program on the other end that will respond to telnet for example?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Check out nmap: http://nmap.org/

nmap -p 25 example.com

Cheers

share|improve this answer
    
That's brilliant - thanks. The line actually needed to be "nmap example.com -Pn139" but that worked perfectly. Thanks for that. –  Kieran Walsh Apr 7 '11 at 11:58

Just use

telnet myserver.com 139

If you're on a Linux/Unix box, I recommend you to check nc

man nc
share|improve this answer
    
As I said in my original post this will only work if there is a program on the remote side that is ready to accept 139 requests - isn't that right? What if there is no such program? –  Kieran Walsh Apr 7 '11 at 7:05

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.