- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- strange output of netstat
Operating System - Linux
1753770
Members
5174
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 03:31 AM
тАО03-07-2008 03:31 AM
I am running JSCAPE SECURE FTP Server.
# telnet 192.168.143.128 21
Trying 192.168.143.128...
Connected to 192.168.143.128.
Escape character is '^]'
I am getting strange output when running 'netstat'
# netstat -at |grep ftp
tcp 0 0 192.168.143.128%321:ftp *:* LISTEN
notice the "%321" after the IP of this machine(ftp Server)... why this %321 ? what does this means ?
Regards
Maaz
# telnet 192.168.143.128 21
Trying 192.168.143.128...
Connected to 192.168.143.128.
Escape character is '^]'
I am getting strange output when running 'netstat'
# netstat -at |grep ftp
tcp 0 0 192.168.143.128%321:ftp *:* LISTEN
notice the "%321" after the IP of this machine(ftp Server)... why this %321 ? what does this means ?
Regards
Maaz
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2008 12:01 AM
тАО03-08-2008 12:01 AM
Solution
You're using netstat without the -n option, so netstat should output hostnames instead of IP addresses whenever possible. So although this string looks like an IP address, it might be actually a (strange) result of a hostname lookup.
Maybe you have a typo in your /etc/hosts file, and "192.168.143.128%321" is listed in there instead of the real hostname.
MK
Maybe you have a typo in your /etc/hosts file, and "192.168.143.128%321" is listed in there instead of the real hostname.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2008 01:19 AM
тАО03-08-2008 01:19 AM
Re: strange output of netstat
your are GENIUS ;) thanks Dear for such a nice and perfect help.
you are right when I ran netstat with '-n' option I got the proper output
# netstat -ant |grep ftp
tcp 0 0 192.168.143.128:21 *:* LISTEN
that is no %321 in the output.
Now when i checked the /etc/hosts, i found no entry for the IP of this FTP server, then I simply add the line, and now "netstat -at" is also giving the right output.
Regards
Maaz
you are right when I ran netstat with '-n' option I got the proper output
# netstat -ant |grep ftp
tcp 0 0 192.168.143.128:21 *:* LISTEN
that is no %321 in the output.
Now when i checked the /etc/hosts, i found no entry for the IP of this FTP server, then I simply add the line, and now "netstat -at" is also giving the right output.
Regards
Maaz
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP