For a service to listen in a particular port in a server, that port should be available in open list of ports or that port will be open only when a service is started?

I am not sure how silly this to you guys but for me, its a really need to know question.

For a service to listen in a particular port in a server, that port should be available in open list of ports or that port will be open only when a service is started?

Let's say the service is configured to listen on port 6061,when we run netsat -a should that be available in open ports for the service be able to LISTEN to that port or the port will start to LISTEN only when the serive is started?

E.g.: Let's say that

telnet localhost 6061 is failing (or) telnet server.hostname.com 6061 is failing

does that mean that port is blocked/not allowed in the firewall or does it mean that the service configured for that particular port should be started for telnet to work?

Hope it makes sense?

Thanks for your time guys!
LVL 9
VirastaRUC Tech Consultant Asked:
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.

McKnifeCommented:
Only when the service has started, the pc will listen on that port.
0

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
Dave BaldwinFixer of ProblemsCommented:
@McKnife is right but the firewall could be blocking access.  The Windows firewall is 'permissive' and usually won't block outgoing connections.  Incoming connections usually have to be allowed thru the firewall either by allowing the port or the program to accept incoming connections.
0
VirastaRUC Tech Consultant Author Commented:
That's exactly it!  :)
0
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
Windows Networking

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.