I have a MacBook Pro, and I want to see if a particular port, 8181, is indeed open and running SSL, as I have set in my GlassFish server.

Is there a command I can issue to see what is serving on which ports?

link|improve this question

feedback

4 Answers

up vote 3 down vote accepted

From the Terminal:

$ openssl s_client -connect localhost:8181

This will connect to the localhost port 8181 using SSL.

link|improve this answer
feedback

netstat -ltnp

link|improve this answer
feedback
netstat -tulpn

But I have no experience with it, just guessed.

link|improve this answer
feedback

If it is publicly accessible, you can try online at http://www.sslshopper.com/ssl-checker.html

Just specify the port after the colon (126.128.791.151:8081)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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