当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 我想知道我的机器运行一段时间后有那么多自己对自己的网络连接
帖子发表于 : 2006-11-04 10:28 

注册: 2006-11-01 14:18
帖子: 36
送出感谢: 0 次
接收感谢: 0 次
www@test:~$ netstat -nap
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 1 0 127.0.0.1:38827 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:38824 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:38823 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:38941 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:38915 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:38918 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40944 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40934 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40932 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40943 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40940 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40937 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40760 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40373 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40369 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40371 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40376 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40378 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40367 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40401 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40403 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40388 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40391 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40396 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40399 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40393 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40395 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:33305 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:33322 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:33321 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:33312 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:34683 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:34703 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:34705 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:34035 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:47960 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48051 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48048 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48063 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48062 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48041 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48083 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48066 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48694 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48693 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48691 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48688 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48702 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48700 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48698 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48696 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48697 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48679 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48686 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48687 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48680 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48710 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48709 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48707 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48704 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48705 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48456 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48389 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48390 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48386 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48393 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:48392 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:41000 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40992 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40996 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40998 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40984 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40986 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40988 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:40990 127.0.0.1:6803 CLOSE_WAIT -
tcp 0 0 127.0.0.1:55756 127.0.0.1:47082 ESTABLISHED4175/perl
tcp 1 0 127.0.0.1:42574 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:42589 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:42586 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44069 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44071 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44064 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44066 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44067 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44078 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44079 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44072 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44075 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44084 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44086 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44081 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44082 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44092 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44094 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44089 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44090 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44060 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44062 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44058 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44096 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:44097 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:53621 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:53640 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:53637 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54809 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54344 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54307 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54493 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54495 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54508 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54504 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54507 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54500 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54501 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54503 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54497 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:54498 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:56167 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:55773 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:55801 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:55786 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:49673 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:49667 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:49670 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:49658 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:50411 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52903 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52911 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52909 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52907 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52905 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52919 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52917 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52914 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52915 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52913 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52921 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:52566 127.0.0.1:6802 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59009 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:58640 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59746 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59753 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59757 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59758 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59760 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59763 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59767 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59769 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59771 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59774 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59776 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:59779 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:60646 127.0.0.1:6803 CLOSE_WAIT -
--我不知道这些都是什么的连接,怎么产生的。
tcp 1 0 127.0.0.1:60656 127.0.0.1:6803 CLOSE_WAIT -
tcp 1 0 127.0.0.1:60671 127.0.0.1:6803 CLOSE_WAIT -
tcp 0 0 127.0.0.1:47697 127.0.0.1:52284 ESTABLISHED4146/perl
tcp6 0 0 :::80 :::* LISTEN - //apache
tcp6 0 0 ::ffff:127.0.0.1:6802 :::* LISTEN 4149/java //resin
tcp6 0 0 ::ffff:127.0.0.1:6803 :::* LISTEN 4177/java //resin
tcp6 0 0 :::22 :::* LISTEN - //ssh
tcp6 0 0 ::ffff:192.168.1.107:22 ::ffff:192.168.1.5:1053 ESTABLISHED-
tcp6 0 0 ::ffff:127.0.0.1:47082 ::ffff:127.0.0.1:55756 ESTABLISHED4177/java
tcp6 0 0 ::ffff:127.0.0.1:52284 ::ffff:127.0.0.1:47697 ESTABLISHED4149/java
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ] DGRAM 4793 - @/org/kernel/udev/udevd
unix 3 [ ] DGRAM 13739 - /dev/log
unix 2 [ ] DGRAM 13798 -
unix 3 [ ] STREAM CONNECTED 13795 -
unix 3 [ ] STREAM CONNECTED 13794 -
unix 2 [ ] STREAM CONNECTED 11621 4149/java
unix 2 [ ] STREAM CONNECTED 11609 4177/java
unix 2 [ ] DGRAM 8675 -
www@test:~$


我的机器上运行了ssh,apache,resin。上面那些红色的连接我不知道是怎么产生的,希望大家能指点我,谢谢


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-11-04 10:32 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
127.0.0.1是本机ip。自环。


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-11-06 11:01 

注册: 2006-11-01 14:18
帖子: 36
送出感谢: 0 次
接收感谢: 0 次
zhuqin_83 写道:
127.0.0.1是本机ip。自环。


为什么会产生自环?对服务器应用会产生不好的影响吗?


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-12-06 17:30 

注册: 2006-04-21 18:31
帖子: 53
送出感谢: 0 次
接收感谢: 0 次
你用ifconfig会看到一个lo个接口,他就是回环接口。回环接口一般提供本地的网络服务,比如像x-window等,就会用到


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译