{"id":267437,"date":"2023-03-20T18:06:34","date_gmt":"2023-03-20T10:06:34","guid":{"rendered":"https:\/\/gulass.cn\/?p=267437"},"modified":"2023-03-20T18:06:34","modified_gmt":"2023-03-20T10:06:34","slug":"lcymlidzzmpz","status":"publish","type":"post","link":"https:\/\/gulass.cn\/lcymlidzzmpz.html","title":{"rendered":"linux\u5e38\u7528\u547d\u4ee4ip\u5730\u5740\u600e\u4e48\u914d\u7f6e\uff1f"},"content":{"rendered":"
linux\u5e38\u7528\u547d\u4ee4ip\u5730\u5740\u600e\u4e48\u914d\u7f6e\uff1f
\nLinux\u64cd\u4f5c\u7cfb\u7edf\u7684\u57fa\u672c\u914d\u7f6e\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u770b\u5230\u7684 IP\u5730\u5740\u548c\u4e3b\u673a\u540d\uff0c\u5728 Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u662f\u7531\u7cfb\u7edf\u5206\u914d\u7684\u3002\u4f8b\u5982\uff1a
\n\u5982\u679c\u6211\u4eec\u9700\u8981\u5411\u4e00\u4e2a Linux\u670d\u52a1\u5668\u53d1\u9001\u6570\u636e\u5305\uff0c\u5219\u9700\u8981\u53d1\u9001\u4e00\u4e2a IP\u5730\u5740\uff0c\u7136\u540e\u5c06\u6b64 IP\u5730\u5740\u8fdb\u884c\u590d\u5236\uff0c\u5e76\u4f7f\u7528\u8be5 IP\u5730\u5740\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u8fdb\u884c\u53d1\u9001\u3002
\n\u5728\u5927\u591a\u6570 Linux\u7cfb\u7edf\u4e2d\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u4f7f\u7528\u8be5\u670d\u52a1\u5668\u63d0\u4f9b\u7684\u9ed8\u8ba4 IP\u5730\u5740\u6765\u5b9e\u73b0\uff0c\u5982\u679c\u6211\u4eec\u8981\u4ece\u5176\u4ed6\u670d\u52a1\u5668\u8f6c\u53d1\u6570\u636e\u5305\u5230\u8be5\u670d\u52a1\u5668\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u63d0\u4f9b\u76f8\u5173 IP\u5730\u5740\u548c\u7aef\u53e3\u53f7\u3002
\n\u6211\u4eec\u7ecf\u5e38\u4f1a\u770b\u5230\u4e00\u4e9b\u6587\u4ef6\uff1a
\n\u5728\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u4e00\u4e9b\u6587\u4ef6\u4f7f\u7528\u4e86\u76f8\u540c\u7684 IP\u5730\u5740\u548c\u4e3b\u673a\u540d\u3002
\n\u901a\u8fc7\u67e5\u770b Linux\u7cfb\u7edf\u4e2d\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u786e\u5b9a\u662f\u5426\u5b58\u5728\u76f8\u540c\u7684 IP\u5730\u5740\u3002\u5728\u4f7f\u7528\u76f8\u540c IP\u5730\u5740\u7684\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u77e5\u9053\u54ea\u4e9b\u662f\u7531\u8be5 IP\u5730\u5740\u63d0\u4f9b\u7ed9\u8be5\u670d\u52a1\u5668\u7684\u3002\u7531\u4e8e Linux\u7cfb\u7edf\u4f7f\u7528\u7684\u662f\u865a\u62df\u4e3b\u673a\u7cfb\u7edf\uff0c\u56e0\u6b64\u901a\u5e38\u60c5\u51b5\u4e0b\u6211\u4eec\u9700\u8981\u4f7f\u7528\u53e6\u4e00\u4e2a\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u6765\u4ee3\u66ff\u8fd9\u4e2a\u670d\u52a1\u5668\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u5c06\u865a\u62df\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u7269\u7406\u4e3b\u673a\u4e2d\u6765\u5b9e\u73b0\u3002
\n\u4e00\u3001\u4f7f\u7528 netstat-l\u67e5\u770b\u5f53\u524d\u7f51\u7edc\u72b6\u6001
\nnetstat-l\u662f\u4e00\u6b3e\u975e\u5e38\u5b9e\u7528\u7684\u547d\u4ee4\uff0c\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u7f51\u7edc\u7684\u5177\u4f53\u4fe1\u606f\u3002\u4f8b\u5982\uff1a\u901a\u8fc7 netstat-l\uff0c\u6211\u4eec\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u7f51\u7edc\u8fde\u63a5\u7684\u72b6\u51b5\u3002
\n\u5982\u679c\u6211\u4eec\u9700\u8981\u67e5\u770b\u5f53\u524d\u7f51\u7edc\u7684\u8fde\u63a5\u4fe1\u606f\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 netstat-l\u547d\u4ee4\u6765\u5b9e\u73b0\uff0c\u6216\u8005\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b9e\u73b0\uff1a
\n\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u7f51\u7edc\u8fde\u63a5\u72b6\u6001\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\uff0c\u4f8b\u5982\uff1a
\n\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7 netstat-l\u6765\u67e5\u770b\u5f53\u524d\u4e3b\u673a\u7684 IP\u5730\u5740\u53ca\u5176\u4ed6\u4fe1\u606f\u3002
\n\u4e8c\u3001\u901a\u8fc7 write text instead\u547d\u4ee4\u6765\u67e5\u770b\u4e3b\u673a\u540d
\n\u6ce8\uff1a\u5982\u679c\u6211\u4eec\u4e0d\u4f7f\u7528 text instead\u547d\u4ee4\uff0c\u90a3\u4e48\u5c31\u4e0d\u4f1a\u663e\u793a\u4e3b\u673a\u540d\u3002
\n\u4e09\u3001\u67e5\u770b IP\u5730\u5740
\n\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 net user\u67e5\u770b IP\u5730\u5740\u3002
\n\u5982\u679c\u4f7f\u7528 net user\u67e5\u770b IP\u5730\u5740\uff0c\u5219\u6211\u4eec\u9700\u8981\u4f7f\u7528 net user user\u547d\u4ee4\u6765\u6267\u884c\uff1a
\n\u5982\u679c\u6211\u4eec\u60f3\u5728 Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528 net user\u547d\u4ee4\uff0c\u90a3\u4e48\u6211\u4eec\u9700\u8981\u5148\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c net user\u3002\u7136\u540e\u8f93\u5165 net user\u53ef\u4ee5\u67e5\u770b\u7f51\u7edc\u4e0a\u7684\u6240\u6709 IP\u5730\u5740\uff0c\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u9700\u8981\u8f93\u5165\uff1a
\n\u5982\u679c\u60f3\u8981\u67e5\u770b\u6240\u6709 IP\u5730\u5740\uff0c\u5219\u8f93\u5165 net list\/home\/ip\u53ef\u4ee5\u67e5\u770b\u8be5\u4e3b\u673a\u6240\u62e5\u6709\u7684\u6240\u6709 IP\u5730\u5740\u3002\u4f8b\u5982\uff1a\u5982\u679c\u60f3\u8981\u67e5\u770b\u6240\u6709\u7684 IP\u5730\u5740\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u8f93\u5165 netlist\/home\/ip\uff0c\u7136\u540e\u518d\u8f93\u5165 net list\/home\u5373\u53ef\u3002
\n\u56db\u3001\u67e5\u8be2\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7
\n\u5728 Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u67e5\u770b\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u3002\u4f8b\u5982\uff1a\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 ping\u547d\u4ee4\u6765\u67e5\u770b\u5c40\u57df\u7f51\u4e2d\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\uff0c\u5728 ping\u547d\u4ee4\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u6765\u8fdb\u884c\u64cd\u4f5c\uff1a
\n\u5982\u679c\u6211\u4eec\u5728\u53d1\u9001\u6570\u636e\u5305\u4e4b\u524d\u5df2\u7ecf\u77e5\u9053\u4e86\u8981\u53d1\u9001\u7684 IP\u5730\u5740\u548c\u4e3b\u673a\u540d\uff0c\u90a3\u4e48\u901a\u8fc7 ping\u547d\u4ee4\u6765\u67e5\u770b\u5c40\u57df\u7f51\u4e2d\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u4e5f\u662f\u5f88\u65b9\u4fbf\u7684\u3002
\n\u4f8b\u5982\uff1a\u5982\u679c\u6211\u4eec\u4f7f\u7528 ping\u547d\u4ee4\uff0c\u90a3\u4e48\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u7c7b\u4f3c\u4e8e\u4e0a\u8ff0\u6240\u793a\u7684 ping\u547d\u4ee4\u6765\u67e5\u770b\u5c40\u57df\u7f51\u4e2d\u7684\u4e3b\u673a\u540d\u548c\u7aef\u53e3\u53f7\u3002
\n\u4e94\u3001\u4e0e netstat-l\u529f\u80fd\u76f8\u540c\uff0c\u7528\u4e8e\u67e5\u8be2\u5f53\u524d\u7f51\u7edc\u72b6\u6001
\nnetstat-l\u4e5f\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u8be5\u547d\u4ee4\u53ef\u4ee5\u7528\u4e8e\u67e5\u770b\u5f53\u524d\u7f51\u7edc\u7684\u72b6\u6001\uff0c\u4f8b\u5982\uff1a netstat- lsystem=\"192.168.0.10\"\uff0c\u5176\u4e2d\u201c192.168.0.10\u201d\u8868\u793a\u5f53\u524d\u7f51\u7edc\u7684 IP\u5730\u5740\u4e3a192.168.0.1\u3002\u5f53\u6211\u4eec\u8981\u67e5\u770b\u67d0\u4e2a\u7f51\u7edc\u7684 IP\u5730\u5740\u65f6\uff0c\u901a\u5e38\u4f7f\u7528\u8be5\u547d\u4ee4\u5373\u53ef\u3002
\nnetstat-l\u9664\u4e86\u80fd\u591f\u67e5\u770b IP\u5730\u5740\u4e4b\u5916\uff0c\u8fd8\u80fd\u591f\u67e5\u770b\u9632\u706b\u5899\u548c\u8def\u7531\u5668\u7b49\u8bbe\u5907\u7684\u72b6\u6001\uff0c\u4f8b\u5982\uff1a netstat- lwunyang=\" window:\/\/192.168.0.10\"\uff0c\u5176\u4e2d\u201cwindow\u201d\u662f\u4e3b\u673a\u540d\uff0c\u201cyang\u201d\u662f\u540d\u79f0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
linux\u5e38\u7528\u547d\u4ee4ip\u5730\u5740\u600e\u4e48\u914d\u7f6e\uff1f Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u57fa\u672c\u914d\u7f6e\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u770b\u5230\u7684 IP\u5730\u5740\u548c\u4e3b\u673a\u540d\uff0c\u5728 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[],"class_list":["post-267437","post","type-post","status-publish","format-standard","hentry","category-tougao"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/267437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=267437"}],"version-history":[{"count":1,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/267437\/revisions"}],"predecessor-version":[{"id":267438,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/267437\/revisions\/267438"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=267437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=267437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=267437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}