[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

what are listeners?

Hi there,

I hope if anyone help me on giving me a brief description about listeners in general..

or some webpages that will explain them for me,

thanks in advance,
waiting for ur answers :)
0
SEstudent
Asked:
SEstudent
3 Solutions
 
SEstudentAuthor Commented:
I must say that my question is about (port listeners)..
0
 
bbaoIT ConsultantCommented:
commonly, a listener is a program that is used to accept incoming connections, in order to provide specific services. it opens one or several listener sockets, each accepting TCP/IP connections on a specified port number, and, optionally on a specified local IP address.

hope it helps,
bbao
0
 
rafael_accCommented:
A listener is an Operating System Service wich waits for a connection on a predefined port, using a predefined protocol. Note that when using tcp/ip, different protocols may be used (because TCP/IP its a protocols stack) for example: ftp, smpt, http, ... etc. Each of these protocols use already defined fixed ports (known as well known ports). However there are services wich open ports in a dinamic fashion, only when needed.

If you type at your command prompt, "netstat -na <enter>" then you will better understant that. Trust me !

Cheers.
0
 
fifthelement80Commented:
u should know some basic knowledge of networking first let me explain u some basics :
1.in IP protocol every pc connected to network has an unique IP address and 65535 ports available to use.
2.every application uses some specific port number (it is software based not hardware) to let other clients or applications to communicate with it.
3.if an application listen on some port then that port is assumed as open.
4.1024 ports have common specific use like : 80 for WWW 21 for ftp 23 for telnet and ...
An Example :
your IP address is : 192.168.10.1
u have an webserver on your computer running then your webserver listens on port 80 and port 80 is open.
other computers connect through your computer through this address : http://192.168.10.1:80 (because of http 80 is not required)
and so they will be able to communicate to your application
Hope it helps

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now