![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ports | zsujith | HP-UX | 1 | 12-31-2007 01:45 PM |
| ports??? | eloquent99 | IP Networking | 4 | 02-24-2003 02:56 PM |
| Ports | Ralf | UNIX for Dummies Questions & Answers | 2 | 12-10-2002 09:07 AM |
| Ports | Yaki | UNIX for Dummies Questions & Answers | 6 | 10-10-2002 09:07 AM |
| TCP/UDP Ports | eugene_mayo | IP Networking | 5 | 08-26-2002 04:27 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi,
If for example i try to start tomcat in a solaris server and get errors related to address already in use, how can I know if this port is really used for another process? If someone can point any documentation it will be very helpfull. Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
have a look at the output of:
Code:
# netstat -rn |
|
#3
|
|||
|
|||
|
Is it show routing?
I think you want to type "netstat -a" right? |
|
#4
|
|||
|
|||
|
netstat -an |grep LISTEN
check which ports are in listening mode. Port Number Description 1 TCP Port Service Multiplexer (TCPMUX) 5 Remote Job Entry (RJE) 7 ECHO 18 Message Send Protocol (MSP) 20 FTP -- Data 21 FTP -- Control 22 SSH Remote Login Protocol 23 Telnet 25 Simple Mail Transfer Protocol (SMTP) 29 MSG ICP 37 Time 42 Host Name Server (Nameserv) 43 WhoIs 49 Login Host Protocol (Login) 53 Domain Name System (DNS) 69 Trivial File Transfer Protocol (TFTP) 70 Gopher Services 79 Finger 80 HTTP 103 X.400 Standard 108 SNA Gateway Access Server 109 POP2 110 POP3 115 Simple File Transfer Protocol (SFTP) 118 SQL Services 119 Newsgroup (NNTP) 137 NetBIOS Name Service 139 NetBIOS Datagram Service 143 Interim Mail Access Protocol (IMAP) 150 NetBIOS Session Service 156 SQL Server 161 SNMP 179 Border Gateway Protocol (BGP) 190 Gateway Access Control Protocol (GACP) 194 Internet Relay Chat (IRC) 197 Directory Location Service (DLS) 389 Lightweight Directory Access Protocol (LDAP) 396 Novell Netware over IP 443 HTTPS 444 Simple Network Paging Protocol (SNPP) 445 Microsoft-DS 458 Apple QuickTime 546 DHCP Client 547 DHCP Server 563 SNEWS 569 MSN 1080 Socks |
|
#5
|
|||
|
|||
|
sorry typo error , it should be netstat -rn |grep LISTEN
|
|
#6
|
||||
|
||||
|
I tried to use netstat -a without LISTEN and it returned many things, including lines as bellow:
------------------------- Quote:
What does this information mean?? Thanks, Fernanda |
|
#7
|
||||
|
||||
|
no, "netstat -an" was right. was my fault
|
||||
| Google The UNIX and Linux Forums |