{"id":37411,"date":"2025-05-16T04:56:05","date_gmt":"2025-05-15T20:56:05","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37411.html"},"modified":"2025-05-16T04:56:05","modified_gmt":"2025-05-15T20:56:05","slug":"linux%e8%a7%a3%e5%86%b3port-is-already-allocated-%e7%ab%af%e5%8f%a3%e5%b7%b2%e5%88%86%e9%85%8d%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37411.html","title":{"rendered":"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515205604-682654e41b77a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5728Linux\u7cfb\u7edf\u4e2d&#xff0c;\u5f53\u4f60\u8fd0\u884cDocker\u5bb9\u5668\u6216\u5176\u4ed6\u670d\u52a1\u65f6&#xff0c;\u5982\u679c\u9047\u5230port is already allocated\u9519\u8bef&#xff0c;\u8fd9\u610f\u5473\u7740\u4f60\u8bd5\u56fe\u7ed1\u5b9a\u5230\u4e00\u4e2a\u5df2\u7ecf\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528\u7684\u7aef\u53e3\u3002<\/p>\n<p>\u89e3\u51b3\u6b64\u7c7b\u95ee\u9898&#xff0c;\u901a\u5e38\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u6b65\u9aa4\u64cd\u4f5c<\/p>\n<h4>\u627e\u51fa\u54ea\u4e2a\u8fdb\u7a0b\u5360\u7528\u4e86\u7aef\u53e3<\/h4>\n<h5>\u65b9\u5f0f\u4e00&#xff1a;lsof\u547d\u4ee4<\/h5>\n<p><span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-i<\/span> :<span class=\"token operator\">&lt;<\/span>port_number<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5217\u51fa\u6240\u6709\u7ed1\u5b9a\u5230\u6307\u5b9a\u7aef\u53e3 &lt;port_number&gt; \u7684\u8fdb\u7a0b\u3002\u8f93\u51fa\u7ed3\u679c\u4e2d&#xff0c;PID\u5217\u663e\u793a\u7684\u5c31\u662f\u5bf9\u5e94\u8fdb\u7a0b\u7684ID\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5192\u53f7\u3010&#xff1a;\u3011\u540e\u9762\u4e0d\u8981\u5e26\u7a7a\u683c&#xff1b;\u5426\u5219\u4f1a\u51fa\u73b0unacceptable port specification in\u7684\u9519\u8bef\u63d0\u793a\u3002<\/p>\n<h5>\u65b9\u5f0f\u4e8c&#xff1a;netstat\u547d\u4ee4<\/h5>\n<p><span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-tulpn<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :<span class=\"token operator\">&lt;<\/span>port_number<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u5c06\u5c55\u793a\u6240\u6709TCP\u8fde\u63a5\u4ee5\u53ca\u76d1\u542c\u4e2d\u7684UDP\u7aef\u53e3&#xff0c;\u5e76\u901a\u8fc7\u7ba1\u9053\u914d\u5408 grep \u8fc7\u6ee4\u51fa\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u884c\u3002\u5728\u8f93\u51fa\u4fe1\u606f\u4e2d&#xff0c;\u53ef\u4ee5\u770b\u5230\u5bf9\u5e94\u7684PID\/Program name\u3002<\/p>\n<h5>\u65b9\u5f0f\u4e09&#xff1a;ss\u547d\u4ee4<\/h5>\n<p>ss <span class=\"token parameter variable\">-plnt<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :<span class=\"token operator\">&lt;<\/span>port_number<span class=\"token operator\">&gt;<\/span><\/p>\n<p>ss \u662f\u4e00\u4e2a\u7528\u6765\u5206\u6790 socket \u7edf\u8ba1\u4fe1\u606f\u7684\u5de5\u5177&#xff0c;\u5b83\u63d0\u4f9b\u4e86\u6bd4 netstat \u66f4\u9ad8\u6548\u66f4\u8be6\u7ec6\u7684\u8f93\u51fa\u3002<\/p>\n<h4>\u505c\u6b62\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b<\/h4>\n<p>\u627e\u5230\u5360\u7528\u7aef\u53e3\u7684PID&#xff08;\u8fdb\u7a0bID&#xff09;&#xff0c;\u7136\u540e\u4f7f\u7528kill\u547d\u4ee4\u7ed3\u675f\u8be5\u8fdb\u7a0b<\/p>\n<p><span class=\"token function\">kill<\/span> <span class=\"token operator\">&lt;<\/span>pid<span class=\"token operator\">&gt;<\/span><\/p>\n<h4>\u5982\u679c\u662fDocker\u5bb9\u5668\u5360\u7528<\/h4>\n<p>\u5982\u679c\u53d1\u73b0\u662f\u67d0\u4e2aDocker\u5bb9\u5668\u5360\u7528\u4e86\u7aef\u53e3&#xff0c;\u53ef\u4ee5\u5148\u5217\u51fa\u6240\u6709\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668&#xff0c;\u5e76\u67e5\u627e\u4e0e\u95ee\u9898\u7aef\u53e3\u76f8\u5173\u7684\u5bb9\u5668&#xff1a;<\/p>\n<p>\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span><\/p>\n<p>\u663e\u793a\u6240\u6709\u72b6\u6001\u7684\u5bb9\u5668<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-a<\/span><\/p>\n<p>Docker\u5bb9\u5668\u7684\u72b6\u6001\u5171\u6709 7 \u79cd&#xff1a;created|restarting|running|removing|paused|exited|dead\u3002<\/p>\n<p>\u663e\u793a\u6240\u6709\u6b63\u5728\u8fd0\u884c\u5bb9\u5668\u53ca\u5176\u7aef\u53e3\u6620\u5c04<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">&#8211;format<\/span> <span class=\"token string\">&#034;table {{.ID}}<span class=\"token entity\" title=\"\\\\t\">\\\\t<\/span>{{.Image}}<span class=\"token entity\" title=\"\\\\t\">\\\\t<\/span>{{.Ports}}&#034;<\/span><\/p>\n<p>\u505c\u6b62\u5e76\u79fb\u9664\u5bb9\u5668<\/p>\n<p><span class=\"token function\">docker<\/span> stop <span class=\"token operator\">&lt;<\/span>container_id_or_name<span class=\"token operator\">&gt;<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">rm<\/span> <span class=\"token operator\">&lt;<\/span>container_id_or_name<span class=\"token operator\">&gt;<\/span><\/p>\n<h5>\u91cd\u65b0\u6620\u5c04\u7aef\u53e3<\/h5>\n<p>\u5982\u679c\u4f60\u9700\u8981\u540c\u65f6\u8fd0\u884c\u591a\u4e2a\u670d\u52a1\u4e14\u5b83\u4eec\u90fd\u5e0c\u671b\u4f7f\u7528\u76f8\u540c\u7684\u7aef\u53e3&#xff0c;\u4f60\u53ef\u4ee5\u4e3a\u65b0\u7684Docker\u5bb9\u5668\u6620\u5c04\u4e0d\u540c\u7684\u4e3b\u673a\u7aef\u53e3<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-p<\/span> <span class=\"token operator\">&lt;<\/span>new_host_port<span class=\"token operator\">&gt;<\/span>:<span class=\"token operator\">&lt;<\/span>container_port<span class=\"token operator\">&gt;<\/span> <span class=\"token punctuation\">..<\/span>.<\/p>\n<h5>\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5kill\u6389Docker\u5360\u7528\u7aef\u53e3\u8fdb\u7a0b<\/h5>\n<p>\u5728Docker\u5bb9\u5668\u4e2d&#xff0c;\u5982\u679c\u4f60\u77e5\u9053\u67d0\u4e2a\u8fdb\u7a0b\u7684PID&#xff0c;\u5e76\u4e14\u60f3\u8981\u7ed3\u675f\u8be5\u8fdb\u7a0b&#xff0c;\u7406\u8bba\u4e0a\u4f60\u53ef\u4ee5\u4f7f\u7528 kill pid \u547d\u4ee4\u6765\u7ec8\u6b62\u5b83\u3002\u4f46\u662f\u901a\u5e38\u5e76\u4e0d\u63a8\u8350&#xff0c;\u8fd9\u662f\u56e0\u4e3a&#xff1a;<\/p>\n<li>\u9694\u79bb\u6027&#xff1a; Docker\u5bb9\u5668\u5185\u90e8\u8fd0\u884c\u7684\u6240\u6709\u8fdb\u7a0b\u90fd\u5728\u4e00\u4e2a\u72ec\u7acb\u7684\u547d\u540d\u7a7a\u95f4\u5185&#xff0c;\u8fd9\u610f\u5473\u7740\u5bbf\u4e3b\u673a\u4e0a\u7684\u76f4\u63a5PID\u53ef\u80fd\u4e0e\u5bb9\u5668\u5185\u90e8\u7684PID\u4e0d\u4e00\u81f4\u3002\u4f60\u9700\u8981\u9996\u5148\u901a\u8fc7 docker exec \u8fdb\u5165\u5bb9\u5668\u73af\u5883&#xff0c;\u7136\u540e\u83b7\u53d6\u5e76\u4f7f\u7528\u5bb9\u5668\u5185\u7684PID\u6267\u884c\u547d\u4ee4\u3002<\/li>\n<li>\u5bb9\u5668\u7ba1\u7406&#xff1a; \u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u5e94\u8be5\u901a\u8fc7Docker\u63d0\u4f9b\u7684\u63a5\u53e3\u6765\u7ba1\u7406\u5bb9\u5668\u53ca\u5176\u5185\u90e8\u670d\u52a1\u3002\u6bd4\u5982&#xff0c;\u4f7f\u7528 docker stop \u6216 docker kill \u6765\u505c\u6b62\u6216\u5f3a\u5236\u505c\u6b62\u6574\u4e2a\u5bb9\u5668&#xff0c;\u8fd9\u5c06\u786e\u4fdd\u5bb9\u5668\u6309\u7167\u9884\u671f\u7684\u65b9\u5f0f\u5173\u95ed\u6240\u6709\u670d\u52a1\u548c\u8d44\u6e90\u3002<\/li>\n<li>\u670d\u52a1\u7a33\u5b9a\u6027&#xff1a; \u5982\u679c\u76f4\u63a5\u6740\u6389\u5bb9\u5668\u4e2d\u7684\u67d0\u4e2a\u8fdb\u7a0b&#xff0c;\u800c\u4e0d\u8003\u8651\u5bb9\u5668\u7684\u6574\u4f53\u72b6\u6001\u548c\u670d\u52a1\u4f9d\u8d56\u5173\u7cfb&#xff0c;\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5bb9\u5668\u5185\u90e8\u7684\u670d\u52a1\u72b6\u6001\u5f02\u5e38\u3001\u6570\u636e\u4e22\u5931\u6216\u5176\u4ed6\u672a\u9884\u89c1\u7684\u95ee\u9898\u3002<\/li>\n<li>\u670d\u52a1\u91cd\u542f\u7b56\u7565&#xff1a; \u5728\u5f88\u591a\u573a\u666f\u4e0b&#xff0c;Docker\u5bb9\u5668\u4f1a\u914d\u7f6e\u4e3a\u81ea\u52a8\u91cd\u542f\u5931\u8d25\u7684\u670d\u52a1&#xff0c;\u800c\u76f4\u63a5\u5728\u5bb9\u5668\u5185\u90e8\u6740\u6b7b\u8fdb\u7a0b\u53ef\u80fd\u8fdd\u53cd\u4e86\u8fd9\u79cd\u91cd\u542f\u7b56\u7565&#xff0c;\u4f7f\u5f97\u5bb9\u5668\u65e0\u6cd5\u6b63\u5e38\u6062\u590d\u5230\u671f\u671b\u72b6\u6001\u3002<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5f53\u4f60\u8fd0\u884cDocker\u5bb9\u5668\u6216\u5176\u4ed6\u670d\u52a1\u65f6\uff0c\u5982\u679c\u9047\u5230\u9519\u8bef\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u8bd5\u56fe\u7ed1\u5b9a\u5230\u4e00\u4e2a\u5df2\u7ecf\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528\u7684\u7aef\u53e3\u3002\u89e3\u51b3\u6b64\u7c7b\u95ee\u9898\uff0c\u901a\u5e38\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u6b65\u9aa4\u64cd\u4f5c\u3002_port is already allocated<\/p>\n","protected":false},"author":2,"featured_media":37410,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,44],"topic":[],"class_list":["post-37411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37411.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5f53\u4f60\u8fd0\u884cDocker\u5bb9\u5668\u6216\u5176\u4ed6\u670d\u52a1\u65f6\uff0c\u5982\u679c\u9047\u5230\u9519\u8bef\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u8bd5\u56fe\u7ed1\u5b9a\u5230\u4e00\u4e2a\u5df2\u7ecf\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528\u7684\u7aef\u53e3\u3002\u89e3\u51b3\u6b64\u7c7b\u95ee\u9898\uff0c\u901a\u5e38\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u6b65\u9aa4\u64cd\u4f5c\u3002_port is already allocated\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37411.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-15T20:56:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515205604-682654e41b77a.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37411.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37411.html\",\"name\":\"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-15T20:56:05+00:00\",\"dateModified\":\"2025-05-15T20:56:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37411.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37411.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37411.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37411.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5f53\u4f60\u8fd0\u884cDocker\u5bb9\u5668\u6216\u5176\u4ed6\u670d\u52a1\u65f6\uff0c\u5982\u679c\u9047\u5230\u9519\u8bef\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u8bd5\u56fe\u7ed1\u5b9a\u5230\u4e00\u4e2a\u5df2\u7ecf\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528\u7684\u7aef\u53e3\u3002\u89e3\u51b3\u6b64\u7c7b\u95ee\u9898\uff0c\u901a\u5e38\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u6b65\u9aa4\u64cd\u4f5c\u3002_port is already allocated","og_url":"https:\/\/www.wsisp.com\/helps\/37411.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-15T20:56:05+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515205604-682654e41b77a.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37411.html","url":"https:\/\/www.wsisp.com\/helps\/37411.html","name":"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-15T20:56:05+00:00","dateModified":"2025-05-15T20:56:05+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37411.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37411.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37411.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u89e3\u51b3port is already allocated \u7aef\u53e3\u5df2\u5206\u914d\u95ee\u9898"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37411"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37411\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37410"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37411"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}