Hi all,
I tried , but few servies are working like telnet,ftp,pop etc...
but rest all are not working...
here is a example/output..
Please guide what should be done...
TIA,
Nayan
##-------------##-------------##-------------##-------------##
## --- Showing Unix information --- ##
## -- Start-- ##
nayan.jain:abc> telnet <abc host>
Trying abc host...
Connected to abc host.
Escape character is '^]'.
UNIX(r) System V Release 4.0 (tul-is2)
login:
## -- End -- ##
**----------------------------------------------------------**
##-------------##-------------##-------------##-------------##
## -- Trying to telnet to port 13 -- ##
## -- Start -- ##
nayan.jain:abc> telnet <abc host> 13
Trying abc host...
Connected to abc host.
Escape character is '^]'.
Wed May 12 13:34:01 1999
Connection closed by foreign host.
nayan.jain:abc>
## -- Successful -- ##
## -- End -- ##
**----------------------------------------------------------**
##-------------##-------------##-------------##-------------##
## -- /etc/services enteries for abc host. -- ##
## -- Start -- ##
daytime 13/tcp
daytime 13/udp
## -- End -- ##
**----------------------------------------------------------**
##-------------##-------------##-------------##-------------##
## --- Showing Unix information --- ##
## -- Start-- ##
[nayan.jain@xyz]$ telnet <xyz host>
Trying xyz host...
Connected to xyz host.
Escape character is '^]'.
Red Hat Linux release 5.2 (Apollo)
Kernel 2.0.36 on an i586
login:
## -- End -- ##
**----------------------------------------------------------**
##-------------##-------------##-------------##-------------##
## -- Trying to telnet to port 13 -- ##
## -- Start -- ##
[nayan.jain@xyz]$ telnet <xyz host> 13
Trying xyz host...
telnet: Unable to connect to remote host: Connection refused
[nayan.jain@xyz]$
## -- UnSuccessful -- ##
## -- End -- ##
**----------------------------------------------------------**
##-------------##-------------##-------------##-------------##
## -- /etc/services enteries for abc host. -- ##
## -- Start -- ##
daytime 13/tcp
daytime 13/udp
## -- End -- ##
**----------------------------------------------------------**
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"To be a revolutionary you have to be a human being.
You have to care about people who have no power."
-Jane Fonda
On Tue, 11 May 1999, Ray Olszewski wrote:
> Why not? I just checked, going from one of my Linux hosts to the other, and
> I could use telnet to identify these ports: ftp, pop3, smtp, lpd .
>
> If you are logged into the host in question, the suggestion someone else
> already made -- netstat -- is also a solution.
>
> At 08:09 PM 5/11/99 +0530, Nayan Jain wrote:
> >In Unixware i used to telnet to a particular port to find out what service
> >it is running.
> >
> >eg. telnet <server ip address> <port no>