{"id":83305,"date":"2026-07-25T20:08:41","date_gmt":"2026-07-25T12:08:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83305.html"},"modified":"2026-07-25T20:08:41","modified_gmt":"2026-07-25T12:08:41","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8ip%e8%ae%bf%e9%97%ae%e4%b8%8d%e4%ba%86%ef%bc%9f99%e6%98%af%e8%bf%993%e4%b8%aa%e5%8e%9f%e5%9b%a0%e5%af%bc%e8%87%b4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83305.html","title":{"rendered":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4"},"content":{"rendered":"<h2>\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86&#xff1f;99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4<\/h2>\n<p>\u4f60\u5174\u51b2\u51b2\u5730\u5728\u7ec8\u7aef\u91cc\u6572\u4e0b bash start_app.sh&#xff0c;\u770b\u5230\u90a3\u884c\u9192\u76ee\u7684\u63d0\u793a&#xff1a;<\/p>\n<p>&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nWebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/p>\n<p>\u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8f93\u5165 http:\/\/192.168.1.100:7860&#xff08;\u6362\u6210\u4f60\u7684\u670d\u52a1\u5668\u771f\u5b9eIP&#xff09;&#xff0c;\u56de\u8f66\u2014\u2014\u9875\u9762\u5374\u5361\u5728\u201c\u6b63\u5728\u8fde\u63a5\u201d\u3001\u663e\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u76f4\u63a5\u62a5\u9519 ERR_CONNECTION_REFUSED\u3002<\/p>\n<p>\u522b\u6025\u7740\u91cd\u88c5\u955c\u50cf\u3001\u5220\u5bb9\u5668\u3001\u67e5\u65e5\u5fd7\u3002\u8fd9\u4e2a\u95ee\u9898\u592a\u5e38\u89c1\u4e86&#xff0c;99%\u7684\u60c5\u51b5\u6839\u672c\u4e0d\u7528\u52a8\u4ee3\u7801\u3001\u4e0d\u9700\u6539\u6a21\u578b&#xff0c;\u53ea\u56e0\u4e09\u4e2a\u57fa\u7840\u4f46\u6781\u6613\u88ab\u5ffd\u7565\u7684\u73af\u8282\u51fa\u4e86\u95ee\u9898\u3002\u672c\u6587\u5c31\u7528 OCR \u6587\u5b57\u68c0\u6d4b WebUI&#xff08;cv_resnet18_ocr-detection&#xff09;\u8fd9\u4e2a\u5177\u4f53\u955c\u50cf\u4e3a\u4f8b&#xff0c;\u5e26\u4f60\u4e00\u4e00\u5206\u8fa8\u3001\u5feb\u901f\u5b9a\u4f4d\u3001\u5f53\u573a\u89e3\u51b3\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f\u4e00\u7bc7\u8bb2\u539f\u7406\u7684\u8bba\u6587&#xff0c;\u4e5f\u4e0d\u662f\u5806\u53c2\u6570\u7684\u914d\u7f6e\u624b\u518c\u3002\u5b83\u662f\u4e00\u4efd\u5199\u7ed9\u6b63\u5728\u670d\u52a1\u5668\u524d\u76b1\u7709\u7684\u4f60\u3001\u5e26\u624b\u628a\u624b\u6392\u67e5\u8def\u5f84\u7684\u5b9e\u6218\u7b14\u8bb0\u3002<\/p>\n<hr \/>\n<h3>1. \u7aef\u53e3\u76d1\u542c\u7ed1\u5b9a\u9519\u4e86&#xff1a;0.0.0.0 \u2260 127.0.0.1 \u2260 \u4f60\u7684IP<\/h3>\n<p>\u8fd9\u662f\u6700\u9690\u853d\u4e5f\u6700\u5e38\u88ab\u8bef\u89e3\u7684\u7b2c\u4e00\u5173\u3002<\/p>\n<h4>1.1 \u4e3a\u4ec0\u4e48 http:\/\/0.0.0.0:7860 \u663e\u793a\u5728\u7ec8\u7aef&#xff0c;\u5374\u4e0d\u80fd\u7528IP\u8bbf\u95ee&#xff1f;<\/h4>\n<p>0.0.0.0 \u662f\u4e00\u4e2a\u901a\u914d\u7b26\u5730\u5740&#xff0c;\u610f\u601d\u662f\u201c\u76d1\u542c\u672c\u673a\u6240\u6709\u7f51\u7edc\u63a5\u53e3\u201d\u3002\u4f46\u5b83\u672c\u8eab\u4e0d\u662f\u4e00\u4e2a\u53ef\u8bbf\u95ee\u7684IP\u3002\u5b83\u53ea\u662f\u544a\u8bc9\u7a0b\u5e8f&#xff1a;\u201c\u6765\u5427&#xff0c;\u4e0d\u7ba1\u8bf7\u6c42\u4ece\u54ea\u4e2a\u7f51\u5361\u8fdb\u6765&#xff0c;\u6211\u90fd\u63a5\u201d\u3002<\/p>\n<p>\u771f\u6b63\u51b3\u5b9a\u201c\u80fd\u4e0d\u80fd\u88ab\u5916\u90e8\u8bbf\u95ee\u201d\u7684&#xff0c;\u662f\u4f60\u7684\u670d\u52a1\u662f\u5426\u5b9e\u9645\u7ed1\u5b9a\u4e86\u5bf9\u5916\u53ef\u89c1\u7684\u7f51\u7edc\u63a5\u53e3&#xff0c;\u4ee5\u53ca\u7cfb\u7edf\u9632\u706b\u5899\u662f\u5426\u653e\u884c\u3002<\/p>\n<p>\u6211\u4eec\u6765\u770b cv_resnet18_ocr-detection \u7684\u542f\u52a8\u903b\u8f91\u3002\u5b83\u7684 WebUI \u57fa\u4e8e Gradio \u6784\u5efa&#xff0c;\u9ed8\u8ba4\u542f\u52a8\u547d\u4ee4\u901a\u5e38\u662f&#xff1a;<\/p>\n<p>gradio app.py &#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<p>\u5176\u4e2d &#8211;server-name 0.0.0.0 \u662f\u5173\u952e\u3002\u5982\u679c\u8fd9\u91cc\u8bef\u5199\u6210 &#8211;server-name 127.0.0.1 \u6216\u5e72\u8106\u6ca1\u5199&#xff08;Gradio \u9ed8\u8ba4\u5c31\u662f 127.0.0.1&#xff09;&#xff0c;\u90a3\u670d\u52a1\u5c31\u53ea\u76d1\u542c\u672c\u5730\u56de\u73af\u5730\u5740\u2014\u2014\u5b83\u80fd\u54cd\u5e94 curl http:\/\/127.0.0.1:7860&#xff0c;\u4f46\u7edd\u4e0d\u4f1a\u54cd\u5e94 curl http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860\u3002<\/p>\n<h4>1.2 \u4e09\u6b65\u9a8c\u8bc1\u6cd5&#xff1a;\u7acb\u523b\u786e\u8ba4\u76d1\u542c\u72b6\u6001<\/h4>\n<p>\u6253\u5f00\u670d\u52a1\u5668\u7ec8\u7aef&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p># \u67e5\u770b 7860 \u7aef\u53e3\u662f\u5426\u88ab Python \u8fdb\u7a0b\u5360\u7528&#xff0c;\u4e14\u76d1\u542c\u5730\u5740\u662f\u5426\u4e3a 0.0.0.0<br \/>\nsudo lsof -i :7860 | grep LISTEN<br \/>\n# \u6216\u4f7f\u7528 netstat&#xff08;\u90e8\u5206\u7cfb\u7edf\u9700\u5b89\u88c5 net-tools&#xff09;<br \/>\nsudo netstat -tuln | grep :7860<\/p>\n<p>\u6b63\u786e\u8f93\u51fa\u793a\u4f8b&#xff08;\u91cd\u70b9\u5173\u6ce8\u7b2c\u4e8c\u5217&#xff09;&#xff1a;<\/p>\n<p>COMMAND   PID USER   FD   TYPE DEVICE SIZE\/OFF NODE NAME<br \/>\npython    1234 root   10u  IPv4  56789      0t0  TCP *:7860 (LISTEN)<\/p>\n<p>\u8fd9\u91cc\u7684 *:7860 \u6216 0.0.0.0:7860 \u8868\u793a\u76d1\u542c\u6240\u6709\u63a5\u53e3&#xff0c;\u53ef\u4ee5\u5916\u8bbf\u3002<\/p>\n<p>\u274c \u9519\u8bef\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>COMMAND   PID USER   FD   TYPE DEVICE SIZE\/OFF NODE NAME<br \/>\npython    1234 root   10u  IPv4  56789      0t0  TCP 127.0.0.1:7860 (LISTEN)<\/p>\n<p>\u8fd9\u91cc\u7684 127.0.0.1:7860 \u8868\u793a\u4ec5\u9650\u672c\u673a\u8bbf\u95ee&#xff0c;\u5916\u90e8 IP \u8bf7\u6c42\u4f1a\u88ab\u76f4\u63a5\u62d2\u7edd\u3002<\/p>\n<h4>1.3 \u89e3\u51b3\u65b9\u6848&#xff1a;\u5f3a\u5236\u7ed1\u5b9a 0.0.0.0<\/h4>\n<p>\u8fdb\u5165\u955c\u50cf\u9879\u76ee\u76ee\u5f55&#xff1a;<\/p>\n<p>cd \/root\/cv_resnet18_ocr-detection<\/p>\n<p>\u68c0\u67e5 start_app.sh \u811a\u672c\u5185\u5bb9&#xff1a;<\/p>\n<p>cat start_app.sh<\/p>\n<p>\u627e\u5230\u7c7b\u4f3c\u8fd9\u4e00\u884c&#xff08;Gradio \u542f\u52a8\u547d\u4ee4&#xff09;&#xff1a;<\/p>\n<p>python -m gradio app.py &#8230;<\/p>\n<p>\u5c06\u5176\u4fee\u6539\u4e3a\u660e\u786e\u6307\u5b9a &#8211;server-name 0.0.0.0&#xff1a;<\/p>\n<p>python -m gradio app.py &#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<p>\u5c0f\u8d34\u58eb&#xff1a;\u5982\u679c\u4f60\u7528\u7684\u662f\u81ea\u5b9a\u4e49\u7684 app.py&#xff0c;\u4e5f\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u786c\u7f16\u7801&#xff1a;<\/p>\n<p> iface.launch(server_name&#061;&#034;0.0.0.0&#034;, server_port&#061;7860)<\/p>\n<p>\u4fdd\u5b58\u540e&#xff0c;\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p>bash start_app.sh<\/p>\n<p>\u518d\u6b21\u8fd0\u884c sudo lsof -i :7860&#xff0c;\u786e\u8ba4\u8f93\u51fa\u4e2d\u51fa\u73b0 *:7860 \u6216 0.0.0.0:7860\u3002<\/p>\n<hr \/>\n<h3>2. \u4e91\u670d\u52a1\u5668\/\u865a\u62df\u673a\u9632\u706b\u5899\u62e6\u622a&#xff1a;\u7aef\u53e3\u5f00\u7740&#xff0c;\u4f46\u6d41\u91cf\u88ab\u201c\u62e6\u5728\u95e8\u5916\u201d<\/h3>\n<p>\u5373\u4f7f\u670d\u52a1\u6b63\u786e\u76d1\u542c\u4e86 0.0.0.0:7860&#xff0c;\u4f60\u7684\u8bf7\u6c42\u4e5f\u53ef\u80fd\u5728\u62b5\u8fbe\u670d\u52a1\u5668\u7f51\u5361\u524d\u5c31\u88ab\u9632\u706b\u5899\u201c\u9759\u9ed8\u4e22\u5f03\u201d\u3002<\/p>\n<p>\u8fd9\u5728\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u3001\u534e\u4e3a\u4e91\u7b49\u4e3b\u6d41\u4e91\u5e73\u53f0&#xff0c;\u4ee5\u53ca VirtualBox\u3001VMware \u7b49\u865a\u62df\u5316\u73af\u5883\u4e2d&#xff0c;\u662f\u9ed8\u8ba4\u884c\u4e3a\u3002<\/p>\n<h4>2.1 \u4e91\u5e73\u53f0\u5b89\u5168\u7ec4&#xff1a;\u7b2c\u4e00\u9053\u95e8\u7981<\/h4>\n<p>\u767b\u5f55\u4f60\u7684\u4e91\u670d\u52a1\u5546\u63a7\u5236\u53f0&#xff08;\u5982\u963f\u91cc\u4e91 ECS \u63a7\u5236\u53f0&#xff09;&#xff0c;\u627e\u5230\u5bf9\u5e94\u670d\u52a1\u5668\u5b9e\u4f8b \u2192 \u201c\u5b89\u5168\u7ec4\u201d \u2192 \u201c\u914d\u7f6e\u89c4\u5219\u201d\u3002<\/p>\n<p>\u68c0\u67e5\u5165\u65b9\u5411&#xff08;Inbound&#xff09;\u89c4\u5219\u4e2d&#xff0c;\u662f\u5426\u6709\u4e00\u6761\u5141\u8bb8 TCP \u534f\u8bae\u3001\u7aef\u53e3 7860\u3001\u6388\u6743\u5bf9\u8c61\u4e3a 0.0.0.0\/0&#xff08;\u6216\u4f60\u529e\u516cIP&#xff09; \u7684\u89c4\u5219\u3002<\/p>\n<p>\u274c \u5e38\u89c1\u9519\u8bef\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u89c4\u5219\u7f3a\u5931&#xff08;\u538b\u6839\u6ca1\u52a0 7860 \u7aef\u53e3&#xff09;<\/li>\n<li>\u534f\u8bae\u9009\u9519&#xff08;\u9009\u4e86 UDP \u800c\u975e TCP&#xff09;<\/li>\n<li>\u6388\u6743\u5bf9\u8c61\u5199\u6210\u4e86 127.0.0.1 \u6216\u7a7a<\/li>\n<li>\u7aef\u53e3\u8303\u56f4\u5199\u6210\u4e86 7860-7861&#xff08;\u5e94\u4e3a\u7cbe\u786e 7860 \u6216 7860\/7860&#xff09;<\/li>\n<\/ul>\n<p>\u6b63\u786e\u6dfb\u52a0\u793a\u4f8b&#xff08;\u963f\u91cc\u4e91&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u65b9\u5411\u534f\u8bae\u7c7b\u578b\u7aef\u53e3\u8303\u56f4\u6388\u6743\u5bf9\u8c61\u4f18\u5148\u7ea7<\/tr>\n<tbody>\n<tr>\n<td>\u5165\u65b9\u5411<\/td>\n<td>TCP<\/td>\n<td>7860\/7860<\/td>\n<td>0.0.0.0\/0<\/td>\n<td>1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6dfb\u52a0\u540e&#xff0c;\u65e0\u9700\u91cd\u542f\u670d\u52a1\u5668&#xff0c;\u89c4\u5219\u7acb\u5373\u751f\u6548\u3002<\/p>\n<h4>2.2 \u670d\u52a1\u5668\u672c\u5730\u9632\u706b\u5899&#xff1a;\u7b2c\u4e8c\u9053\u95e8\u7981<\/h4>\n<p>\u4e91\u5e73\u53f0\u653e\u884c\u540e&#xff0c;Linux \u7cfb\u7edf\u81ea\u8eab\u7684\u9632\u706b\u5899&#xff08;\u5982 ufw \u6216 firewalld&#xff09;\u53ef\u80fd\u8fd8\u5728\u5de5\u4f5c\u3002<\/p>\n<p>\u68c0\u67e5\u5e76\u653e\u884c\u7aef\u53e3&#xff1a;<\/p>\n<p>Ubuntu\/Debian&#xff08;ufw&#xff09;&#xff1a;<\/p>\n<p># \u67e5\u770b\u72b6\u6001<br \/>\nsudo ufw status verbose<br \/>\n# \u82e5\u4e3a active&#xff0c;\u5219\u653e\u884c<br \/>\nsudo ufw allow 7860<\/p>\n<p>CentOS\/RHEL&#xff08;firewalld&#xff09;&#xff1a;<\/p>\n<p># \u67e5\u770b\u72b6\u6001<br \/>\nsudo firewall-cmd &#8211;state<br \/>\n# \u4e34\u65f6\u653e\u884c<br \/>\nsudo firewall-cmd &#8211;add-port&#061;7860\/tcp &#8211;permanent<br \/>\nsudo firewall-cmd &#8211;reload<\/p>\n<h4>2.3 \u9a8c\u8bc1\u9632\u706b\u5899\u662f\u5426\u5df2\u901a&#xff1a;\u7528 telnet \u5feb\u901f\u6d4b\u8bd5<\/h4>\n<p>\u5728\u4f60\u7684\u672c\u5730\u7535\u8111&#xff08;\u4e0d\u662f\u670d\u52a1\u5668&#xff09;\u4e0a&#xff0c;\u6253\u5f00\u7ec8\u7aef&#xff08;Mac\/Linux&#xff09;\u6216 PowerShell&#xff08;Windows&#xff09;&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p>telnet \u4f60\u7684\u670d\u52a1\u5668IP 7860<\/p>\n<p>\u5982\u679c\u5c4f\u5e55\u53d8\u4e3a\u7a7a\u767d&#xff08;\u6216\u663e\u793a Connected to &#8230;&#xff09;&#xff0c;\u8bf4\u660e\u7aef\u53e3\u5df2\u901a&#xff0c;\u8fde\u63a5\u6210\u529f\u3002 \u274c \u5982\u679c\u63d0\u793a Could not open connection to the host \u6216 Connection refused&#xff0c;\u8bf4\u660e\u9632\u706b\u5899\u4ecd\u62e6\u622a&#xff0c;\u9700\u56de\u5934\u68c0\u67e5\u5b89\u5168\u7ec4\u6216\u672c\u5730\u9632\u706b\u5899\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;telnet \u5728 Windows 10\/11 \u9ed8\u8ba4\u672a\u542f\u7528&#xff0c;\u9700\u5728\u201c\u542f\u7528\u6216\u5173\u95ed Windows \u529f\u80fd\u201d\u4e2d\u52fe\u9009\u201cTelnet \u5ba2\u6237\u7aef\u201d\u3002<\/p>\n<hr \/>\n<h3>3. \u670d\u52a1\u8fdb\u7a0b\u5d29\u6e83\u6216\u672a\u771f\u6b63\u542f\u52a8&#xff1a;\u770b\u4f3c\u5728\u8dd1&#xff0c;\u5b9e\u5219\u201c\u5047\u6b7b\u201d<\/h3>\n<p>\u6709\u65f6\u5019&#xff0c;start_app.sh \u6267\u884c\u5b8c&#xff0c;\u7ec8\u7aef\u6253\u5370\u4e86 http:\/\/0.0.0.0:7860&#xff0c;\u4f46\u670d\u52a1\u5176\u5b9e\u5728\u51e0\u79d2\u540e\u5c31\u56e0\u5185\u5b58\u4e0d\u8db3\u3001\u4f9d\u8d56\u7f3a\u5931\u3001GPU \u9a71\u52a8\u5f02\u5e38\u7b49\u539f\u56e0\u5d29\u6e83\u4e86\u3002\u4f60\u770b\u5230\u7684\u53ea\u662f\u542f\u52a8\u77ac\u95f4\u7684\u65e5\u5fd7&#xff0c;\u800c\u975e\u6301\u7eed\u8fd0\u884c\u7684\u72b6\u6001\u3002<\/p>\n<h4>3.1 \u8fdb\u7a0b\u662f\u5426\u5b58\u5728&#xff1f;\u4e00\u773c\u8bc6\u7834\u201c\u5e7d\u7075\u670d\u52a1\u201d<\/h4>\n<p>\u5728\u670d\u52a1\u5668\u7ec8\u7aef&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p># \u67e5\u770b\u6240\u6709\u5305\u542b python \u548c 7860 \u7aef\u53e3\u7684\u8fdb\u7a0b<br \/>\nps aux | grep python | grep 7860<br \/>\n# \u6216\u66f4\u7cbe\u51c6\u5730\u67e5\u76d1\u542c\u8be5\u7aef\u53e3\u7684\u8fdb\u7a0b<br \/>\nlsof -ti:7860<\/p>\n<p>\u6709\u8f93\u51fa&#xff08;\u5982\u4e00\u4e32\u6570\u5b57PID&#xff09;&#xff1a;\u8fdb\u7a0b\u5b58\u5728&#xff0c;\u7ee7\u7eed\u68c0\u67e5\u65e5\u5fd7\u3002 \u274c \u65e0\u4efb\u4f55\u8f93\u51fa&#xff1a;\u8fdb\u7a0b\u5df2\u9000\u51fa&#xff0c;\u670d\u52a1\u672a\u8fd0\u884c\u3002<\/p>\n<h4>3.2 \u65e5\u5fd7\u662f\u771f\u76f8&#xff1a;\u5d29\u6e83\u539f\u56e0\u5168\u5728\u91cc\u9762<\/h4>\n<p>cv_resnet18_ocr-detection \u7684 start_app.sh \u901a\u5e38\u4f1a\u5c06\u65e5\u5fd7\u8f93\u51fa\u5230\u5c4f\u5e55\u3002\u4f46\u5982\u679c\u811a\u672c\u540e\u53f0\u8fd0\u884c&#xff08;\u5982\u52a0\u4e86 &amp;&#xff09;\u6216\u91cd\u5b9a\u5411\u4e86&#xff0c;\u4f60\u9700\u8981\u4e3b\u52a8\u67e5\u770b\u3002<\/p>\n<p>\u6700\u7b80\u5355\u65b9\u5f0f&#xff1a;\u91cd\u65b0\u4ee5\u524d\u53f0\u6a21\u5f0f\u542f\u52a8&#xff0c;\u89c2\u5bdf\u5b9e\u65f6\u8f93\u51fa&#xff1a;<\/p>\n<p>cd \/root\/cv_resnet18_ocr-detection<br \/>\n# \u5148\u6740\u6389\u53ef\u80fd\u6b8b\u7559\u7684\u8fdb\u7a0b<br \/>\npkill -f &#034;gradio\\\\|app.py&#034;<br \/>\n# \u524d\u53f0\u542f\u52a8&#xff0c;\u4e0d\u52a0 &amp;&#xff0c;\u4e0d\u91cd\u5b9a\u5411<br \/>\npython -m gradio app.py &#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<p>\u6b64\u65f6&#xff0c;\u7ec8\u7aef\u4f1a\u6301\u7eed\u6eda\u52a8\u65e5\u5fd7\u3002\u7559\u610f\u662f\u5426\u6709\u4ee5\u4e0b\u5173\u952e\u8bcd&#xff1a;<\/p>\n<ul>\n<li>CUDA out of memory \u2192 GPU \u663e\u5b58\u4e0d\u8db3&#xff08;\u5c1d\u8bd5\u5173\u95ed GPU&#xff0c;\u5f3a\u5236 CPU \u63a8\u7406&#xff09;<\/li>\n<li>ModuleNotFoundError: No module named &#039;torch&#039; \u2192 PyTorch \u672a\u5b89\u88c5\u6216\u7248\u672c\u51b2\u7a81<\/li>\n<li>OSError: [Errno 98] Address already in use \u2192 7860 \u7aef\u53e3\u88ab\u5176\u4ed6\u7a0b\u5e8f\u5360\u7528<\/li>\n<li>ImportError: libGL.so.1: cannot open shared object file \u2192 \u7f3a\u5c11\u56fe\u5f62\u5e93&#xff08;\u5e38\u89c1\u4e8e\u65e0 GUI \u7684 Docker \u73af\u5883&#xff0c;\u9700\u5b89\u88c5 libglib2.0-0 libsm6 libxext6 libxrender-dev&#xff09;<\/li>\n<\/ul>\n<h4>3.3 \u9488\u5bf9 OCR \u68c0\u6d4b\u955c\u50cf\u7684\u5178\u578b\u4fee\u590d<\/h4>\n<h5>\u573a\u666fA&#xff1a;GPU\u663e\u5b58\u4e0d\u8db3&#xff08;\u5c24\u5176\u5728 GTX 1060 \u6216\u66f4\u4f4e\u663e\u5361\u4e0a&#xff09;<\/h5>\n<p>\u7f16\u8f91 app.py \u6216\u542f\u52a8\u811a\u672c&#xff0c;\u5728\u6a21\u578b\u52a0\u8f7d\u524d\u5f3a\u5236\u4f7f\u7528 CPU&#xff1a;<\/p>\n<p>import os<br \/>\nos.environ[&#034;CUDA_VISIBLE_DEVICES&#034;] &#061; &#034;-1&#034;  # \u5173\u952e&#xff01;\u7981\u7528GPU<\/p>\n<p>\u6216\u542f\u52a8\u65f6\u52a0\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p>CUDA_VISIBLE_DEVICES&#061;-1 python -m gradio app.py &#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<h5>\u573a\u666fB&#xff1a;\u7f3a\u5c11\u7cfb\u7edf\u4f9d\u8d56&#xff08;Docker\/\u65e0GUI\u73af\u5883&#xff09;<\/h5>\n<p>\u6267\u884c\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/p>\n<p>apt-get update &amp;&amp; apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev<\/p>\n<h5>\u573a\u666fC&#xff1a;\u7aef\u53e3\u88ab\u5360<\/h5>\n<p>\u627e\u51fa\u5e76\u6740\u6b7b\u5360\u7528\u8fdb\u7a0b&#xff1a;<\/p>\n<p>sudo lsof -ti:7860 | xargs kill -9<\/p>\n<hr \/>\n<h3>4. \u5176\u4ed6\u9ad8\u9891\u5e72\u6270\u9879&#xff1a;\u6392\u67e5\u6e05\u5355&#xff08;\u5feb\u901f\u8fc7\u4e00\u904d&#xff09;<\/h3>\n<p>\u4ee5\u4e0a\u4e09\u70b9\u8986\u76d6\u4e86 99% \u7684\u95ee\u9898\u3002\u4f46\u4e3a\u4e86\u4e07\u65e0\u4e00\u5931&#xff0c;\u8fd9\u91cc\u63d0\u4f9b\u4e00\u4efd 30 \u79d2\u81ea\u67e5\u6e05\u5355&#xff0c;\u9047\u5230\u95ee\u9898\u5148\u626b\u4e00\u773c&#xff1a;<\/p>\n<ul>\n<li>\u6d4f\u89c8\u5668\u5730\u5740\u8f93\u5bf9\u4e86\u5417&#xff1f; \u662f http:\/\/ \u5f00\u5934&#xff0c;\u4e0d\u662f https:\/\/&#xff1b;IP \u548c\u7aef\u53e3\u95f4\u662f\u82f1\u6587\u5192\u53f7 :&#xff0c;\u4e0d\u662f\u4e2d\u6587\u987f\u53f7 \u3001\u3002<\/li>\n<li>\u670d\u52a1\u5668\u548c\u672c\u5730\u7f51\u7edc\u4e92\u901a\u5417&#xff1f; \u5728\u672c\u5730 ping \u670d\u52a1\u5668IP&#xff0c;\u80fd\u901a\u624d\u7ee7\u7eed\u3002<\/li>\n<li>\u662f\u4e0d\u662f\u7528\u4e86\u5185\u7f51IP&#xff08;\u5982 192.168.x.x&#xff09;\u5374\u5728\u516c\u7f51\u8bbf\u95ee&#xff1f; \u5185\u7f51IP\u53ea\u80fd\u5728\u540c\u5c40\u57df\u7f51\u5185\u8bbf\u95ee&#xff0c;\u8de8\u7f51\u9700\u914d\u7f6e\u7aef\u53e3\u6620\u5c04\u6216\u4f7f\u7528\u516c\u7f51IP\u3002<\/li>\n<li>Gradio \u7248\u672c\u517c\u5bb9\u6027&#xff1f; \u65e7\u7248 Gradio&#xff08;&lt;4.0&#xff09;\u4e0e\u65b0 PyTorch \u53ef\u80fd\u6709\u51b2\u7a81\u3002\u5347\u7ea7\u8bd5\u8bd5&#xff1a;<\/li>\n<\/ul>\n<p>pip install &#8211;upgrade gradio<\/p>\n<ul>\n<li>\u955c\u50cf\u662f\u5426\u5b8c\u6574\u62c9\u53d6&#xff1f; \u68c0\u67e5 \/root\/cv_resnet18_ocr-detection\/ \u76ee\u5f55\u4e0b\u662f\u5426\u6709 app.py, model\/, requirements.txt \u7b49\u5173\u952e\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>5. \u7ec8\u6781\u9a8c\u8bc1&#xff1a;\u4ece\u670d\u52a1\u5668\u5185\u90e8 curl \u6d4b\u8bd5<\/h3>\n<p>\u5f53\u4f60\u5b8c\u6210\u6240\u6709\u6392\u67e5&#xff0c;\u4ecd\u4e0d\u786e\u5b9a\u65f6&#xff0c;\u8bf7\u6267\u884c\u8fd9\u4e2a\u201c\u9ec4\u91d1\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p>\u5728\u670d\u52a1\u5668\u7ec8\u7aef\u5185&#xff0c;\u76f4\u63a5\u7528 curl \u6a21\u62df\u4e00\u6b21\u8bf7\u6c42&#xff1a;<\/p>\n<p>curl -v http:\/\/127.0.0.1:7860<br \/>\n# \u6216<br \/>\ncurl -v http:\/\/0.0.0.0:7860<\/p>\n<p>\u5982\u679c\u8fd4\u56de\u5927\u91cf HTML \u4ee3\u7801&#xff08;\u542b &lt;title&gt;Gradio&lt;\/title&gt;&#xff09;&#xff0c;\u8bf4\u660e\u670d\u52a1\u5728\u670d\u52a1\u5668\u5185\u90e8\u5b8c\u5168\u6b63\u5e38&#xff0c;\u95ee\u9898 100% \u51fa\u5728\u7f51\u7edc\u94fe\u8def&#xff08;\u9632\u706b\u5899\u3001\u5b89\u5168\u7ec4\u3001IP\u7c7b\u578b&#xff09;\u3002<\/p>\n<p>\u274c \u5982\u679c\u8fd4\u56de Failed to connect \u6216 Connection refused&#xff0c;\u8bf4\u660e\u95ee\u9898\u51fa\u5728\u670d\u52a1\u81ea\u8eab&#xff08;\u7ed1\u5b9a\u9519\u8bef\u3001\u5d29\u6e83\u3001\u7aef\u53e3\u5360\u7528&#xff09;\u3002<\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4&#xff0c;\u662f\u533a\u5206\u201c\u7f51\u7edc\u95ee\u9898\u201d\u548c\u201c\u670d\u52a1\u95ee\u9898\u201d\u7684\u5206\u6c34\u5cad\u3002<\/p>\n<hr \/>\n<h3>6. \u603b\u7ed3&#xff1a;\u4e00\u5f20\u8868\u8bb0\u4f4f\u6838\u5fc3\u89e3\u6cd5<\/h3>\n<table>\n<tr>\u95ee\u9898\u73b0\u8c61\u6700\u53ef\u80fd\u539f\u56e0\u5feb\u901f\u9a8c\u8bc1\u547d\u4ee4\u6838\u5fc3\u89e3\u51b3\u52a8\u4f5c<\/tr>\n<tbody>\n<tr>\n<td>http:\/\/IP:7860 \u6253\u4e0d\u5f00&#xff0c;\u4f46\u7ec8\u7aef\u663e\u793a\u542f\u52a8\u6210\u529f<\/td>\n<td>\u670d\u52a1\u7ed1\u5b9a 127.0.0.1 \u800c\u975e 0.0.0.0<\/td>\n<td>sudo lsof -i :7860 | grep LISTEN<\/td>\n<td>\u4fee\u6539 start_app.sh&#xff0c;\u6dfb\u52a0 &#8211;server-name 0.0.0.0<\/td>\n<\/tr>\n<tr>\n<td>telnet IP 7860 \u5931\u8d25&#xff0c;\u4f46 curl 127.0.0.1:7860 \u6210\u529f<\/td>\n<td>\u4e91\u5b89\u5168\u7ec4\u6216\u672c\u5730\u9632\u706b\u5899\u62e6\u622a<\/td>\n<td>\u767b\u5f55\u4e91\u63a7\u5236\u53f0\u68c0\u67e5\u5b89\u5168\u7ec4&#xff1b;sudo ufw status<\/td>\n<td>\u6dfb\u52a0 TCP 7860 \u5165\u65b9\u5411\u89c4\u5219&#xff1b;sudo ufw allow 7860<\/td>\n<\/tr>\n<tr>\n<td>\u7ec8\u7aef\u542f\u52a8\u540e\u51e0\u79d2\u5c31\u9000\u51fa&#xff0c;\u65e0\u62a5\u9519<\/td>\n<td>\u8fdb\u7a0b\u5d29\u6e83&#xff08;\u663e\u5b58\/\u4f9d\u8d56\/\u7aef\u53e3\u51b2\u7a81&#xff09;<\/td>\n<td>ps aux | grep 7860&#xff1b;pkill -f app.py; bash start_app.sh&#xff08;\u524d\u53f0&#xff09;<\/td>\n<td>\u6839\u636e\u65e5\u5fd7\u5173\u952e\u8bcd\u4fee\u590d&#xff1a;CUDA_VISIBLE_DEVICES&#061;-1\u3001apt install libglib2.0-0\u3001kill -9 $(lsof -ti:7860)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bb0\u4f4f&#xff1a;\u6280\u672f\u95ee\u9898\u6ca1\u6709\u7384\u5b66\u3002\u6bcf\u4e00\u6b21\u201c\u6253\u4e0d\u5f00\u201d&#xff0c;\u80cc\u540e\u90fd\u6709\u786e\u5b9a\u7684\u7f51\u7edc\u534f\u8bae\u6808\u3001\u8fdb\u7a0b\u72b6\u6001\u3001\u6743\u9650\u89c4\u5219\u5728\u8d77\u4f5c\u7528\u3002\u4f60\u53ea\u9700\u6309\u987a\u5e8f\u6572\u51e0\u6761\u547d\u4ee4&#xff0c;\u7b54\u6848\u5c31\u4f1a\u81ea\u5df1\u6d6e\u73b0\u3002<\/p>\n<p>\u73b0\u5728&#xff0c;\u56de\u5230\u4f60\u7684\u7ec8\u7aef&#xff0c;\u6311\u51fa\u7b2c\u4e00\u6761\u547d\u4ee4&#xff0c;\u5f00\u59cb\u9a8c\u8bc1\u5427\u3002<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86&#xff1f;99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4<br \/>\n\u4f60\u5174\u51b2\u51b2\u5730\u5728\u7ec8\u7aef\u91cc\u6572\u4e0b bash start_app.sh&#xff0c;\u770b\u5230\u90a3\u884c\u9192\u76ee\u7684\u63d0\u793a&#xff1a; <\/p>\n<p>WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860<br \/>\n\u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8f93\u5165 http:\/\/192.168.1.100:7860&#xff08;\u6362\u6210\u4f60\u7684\u670d\u52a1\u5668\u771f\u5b9eIP&#xff09;&#xff0c;\u56de\u8f66\u2014\u2014\u9875\u9762\u5374\u5361\u5728\u201c\u6b63\u5728\u8fde\u63a5\u201d\u3001\u663e\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u76f4\u63a5\u62a5\u9519 ERR_CONNEC<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7425,6851,756,523],"topic":[],"class_list":["post-83305","post","type-post","status-publish","format-standard","hentry","category-server","tag-7425","tag-gpu","tag-ocr","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \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\/83305.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86&#xff1f;99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 \u4f60\u5174\u51b2\u51b2\u5730\u5728\u7ec8\u7aef\u91cc\u6572\u4e0b bash start_app.sh&#xff0c;\u770b\u5230\u90a3\u884c\u9192\u76ee\u7684\u63d0\u793a&#xff1a;  WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860 \u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8f93\u5165 http:\/\/192.168.1.100:7860&#xff08;\u6362\u6210\u4f60\u7684\u670d\u52a1\u5668\u771f\u5b9eIP&#xff09;&#xff0c;\u56de\u8f66\u2014\u2014\u9875\u9762\u5374\u5361\u5728\u201c\u6b63\u5728\u8fde\u63a5\u201d\u3001\u663e\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u76f4\u63a5\u62a5\u9519 ERR_CONNEC\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83305.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T12:08:41+00:00\" \/>\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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83305.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83305.html\",\"name\":\"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T12:08:41+00:00\",\"dateModified\":\"2026-07-25T12:08:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83305.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83305.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83305.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4\"}]},{\"@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":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \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\/83305.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86&#xff1f;99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 \u4f60\u5174\u51b2\u51b2\u5730\u5728\u7ec8\u7aef\u91cc\u6572\u4e0b bash start_app.sh&#xff0c;\u770b\u5230\u90a3\u884c\u9192\u76ee\u7684\u63d0\u793a&#xff1a;  WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860 \u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8f93\u5165 http:\/\/192.168.1.100:7860&#xff08;\u6362\u6210\u4f60\u7684\u670d\u52a1\u5668\u771f\u5b9eIP&#xff09;&#xff0c;\u56de\u8f66\u2014\u2014\u9875\u9762\u5374\u5361\u5728\u201c\u6b63\u5728\u8fde\u63a5\u201d\u3001\u663e\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u76f4\u63a5\u62a5\u9519 ERR_CONNEC","og_url":"https:\/\/www.wsisp.com\/helps\/83305.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T12:08:41+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83305.html","url":"https:\/\/www.wsisp.com\/helps\/83305.html","name":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T12:08:41+00:00","dateModified":"2026-07-25T12:08:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83305.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83305.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83305.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668IP\u8bbf\u95ee\u4e0d\u4e86\uff1f99%\u662f\u8fd93\u4e2a\u539f\u56e0\u5bfc\u81f4"}]},{"@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\/83305","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=83305"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83305\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83305"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}