How can I check if the appache server port number is configure for this Java SOAP API?

In the vendor's wsdl I found the text for the binding specification.  I assume that "Localhost:8443" that it refers to the Apache server's port number and not my local development PC, is that correct assumption?
<wsdl:service name="OpasService"><wsdl:port binding="tns:OpasServiceSoapBinding" name="OpasServicePort"><soap:address location="https://localhost:8443/opas/api"/></wsdl:port></wsdl:service>

I'm getting "Server actively refused to connect" when I call a method in this API server.  I also get socket error below:
 msg      "System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it [::1]:8443\r\n   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)\r\n   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address,
ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)"      string

How can I check if the port number is opened?  

Thank you.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BullockQA Engineer IIICommented:
To determine if the port is open, you can use telnet, like this:
from the server:  telnet localhost 8443
from a client machine:  telnet 8443

If you get a connection, it will output "Connected to ...". If you don't you'll see "Connection timed out" or "Unable to connect..."
lapuccaAuthor Commented:
I'm on a windows 7 pc.  I typed in telnet in the command line in CMD dialog and it replied it doesn't recognize Telnet as a command.  Is telnet a unix command?
Mark BullockQA Engineer IIICommented:
You can also test if the port is open using your browser.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

lapuccaAuthor Commented:
I tried in the browser and it says "This page is not available".  Does that mean the port is not open?  This is supposed to be an end point, I think.
Brandon LyonSenior Frontend DeveloperCommented:
If it's actively refused then I think either the port isn't open or a firewall is blocking the connection. In order to check Apache's port configuration you might want to look at the virtual hosts defined in /etc/apache2/sites-available/default
lapuccaAuthor Commented:
thank you.  I opened the Firewall under Admin tools in Windows 2012 server and I don't see that port 8443 is listed there so I think it needs to be opened.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.