![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Doubt | salil2012 | UNIX for Dummies Questions & Answers | 1 | 03-05-2009 11:33 AM |
| doubt in awk | jisha | Shell Programming and Scripting | 4 | 04-16-2008 04:02 AM |
| disabled telnet now need port 23 or port 22 | panzerkw | SUN Solaris | 3 | 03-05-2007 03:08 PM |
| doubt it sed | esham | Shell Programming and Scripting | 2 | 03-08-2005 01:52 AM |
| BitTorrent port 6969 blocked... how to get around the blocked port | PenguinDevil | IP Networking | 1 | 05-05-2004 11:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Doubt with Information of particular port
Hi experts,
I tried telnet command : telnet 192.168.1.22 80 80 is port number. then ^] and i pressed ENTER but NO OUTPUT, WHY? My problem is I want to know the applications running on any particular port number.Which command will be uuseful? either telnet or ? |
|
||||
|
Thanks pludi,
But my altimate aim is to know : What all are the application runninig on any particular port number either port 80 or 22 doesn't matter. I have just tried telnet for the same but i need the right command for this: What all are the application runninig on any particular port number either port 80 or 22 doesn't matter ? ? |
|
|||||
|
The lsof(8) command can be run as follows:
Code:
# lsof -i COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME avahi-dae 5033 avahi 14u IPv4 15387 UDP *:mdns avahi-dae 5033 avahi 15u IPv4 15388 UDP *:33378 cupsd 5081 root 2u IPv4 15468 TCP localhost:ipp (LISTEN) hddtemp 5136 root 0u IPv4 15530 TCP localhost:7634 (LISTEN) dhclient 6014 root 5w IPv4 20112 UDP *:bootpc thunderbi 9118 tony 32u IPv4 88273 TCP laptop.local:47532->ey-in-f111.google.com:imaps (ESTABLISHED) thunderbi 9118 tony 33u IPv4 88277 TCP laptop.local:54941->moz.com01.nslb.sj.mozilla.com:www (ESTABLISHED) thunderbi 9118 tony 34u IPv4 88282 TCP laptop.local:58086->2.stage.mozillamessaging.com:www (ESTABLISHED) thunderbi 9118 tony 35u IPv4 88294 TCP laptop.local:38661->1.stage.mozillamessaging.com:www (ESTABLISHED) thunderbi 9118 tony 36u IPv4 88295 TCP laptop.local:38662->1.stage.mozillamessaging.com:www (ESTABLISHED) # |
|
||||
|
thanks TonyFullerMalv,
But can u please tell me which of the column will give me the port no here.. # lsof -i COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME avahi-dae 5033 avahi 14u IPv4 15387 UDP *:mdns avahi-dae 5033 avahi 15u IPv4 15388 UDP *:33378 cupsd 5081 root 2u IPv4 15468 TCP localhost:ipp (LISTEN) hddtemp 5136 root 0u IPv4 15530 TCP localhost:7634 (LISTEN) dhclient 6014 root 5w IPv4 20112 UDP *:bootpc thunderbi 9118 tony 32u IPv4 88273 TCP laptop.local:47532->ey-in-f111.google.com:imaps (ESTABLISHED) thunderbi 9118 tony 33u IPv4 88277 TCP laptop.local:54941->moz.com01.nslb.sj.mozilla.com:www (ESTABLISHED) thunderbi 9118 tony 34u IPv4 88282 TCP laptop.local:58086->2.stage.mozillamessaging.com:www (ESTABLISHED) thunderbi 9118 tony 35u IPv4 88294 TCP laptop.local:38661->1.stage.mozillamessaging.com:www (ESTABLISHED) thunderbi 9118 tony 36u IPv4 88295 TCP laptop.local:38662->1.stage.mozillamessaging.com:www (ESTABLISHED) # |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|