The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to write application for 32 com port amitpansuria High Level Programming 6 08-10-2007 02:50 AM
disabled telnet now need port 23 or port 22 panzerkw SUN Solaris 3 03-05-2007 03:08 PM
How can I check what port addresses used the application eykyn17 IP Networking 1 02-16-2006 12:58 PM
which port to write my server application? rraajjiibb UNIX for Advanced & Expert Users 0 12-19-2005 02:42 AM
BitTorrent port 6969 blocked... how to get around the blocked port PenguinDevil IP Networking 1 05-06-2004 12:03 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-21-2006
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
What application is using the port

Hello
im using sunos im trying to lock down application that taking my port
when Im doing "netstat –in | grep 8080"
Is gives me the indication that the port is taken but no indication who is taken the port.
How can I find out who is taking my port?


Thanks allot
  #2 (permalink)  
Old 05-21-2006
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,245
The simplets way is to use lsof.
  #3 (permalink)  
Old 05-21-2006
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
On Linux at least, you should also be able to do a

netstat -tlnp | grep 8080

as root to check the process that is holding the port open.
  #4 (permalink)  
Old 05-22-2006
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
what is lsof? and how can i use it?
by the way the linux way dont work on sunOs
thanks
  #5 (permalink)  
Old 05-22-2006
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
now when im checking in sunos i dont see this tool , i need standart sulotion
whitout installing any thing ...
  #6 (permalink)  
Old 05-22-2006
amit.verma amit.verma is offline
Registered User
  
 

Join Date: May 2006
Posts: 8
check out the /etc/services and /etc/inetd.conf
files for the possible s/w and their assigned ports...
Closed Thread

Bookmarks

Tags
linux, linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0