{"id":83551,"date":"2026-07-26T02:11:35","date_gmt":"2026-07-25T18:11:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83551.html"},"modified":"2026-07-26T02:11:35","modified_gmt":"2026-07-25T18:11:35","slug":"cosyvoice2-0-5b%e6%9c%8d%e5%8a%a1%e5%99%a8ip%e8%ae%bf%e9%97%ae%e5%a4%b1%e8%b4%a5%ef%bc%9f%e7%ab%af%e5%8f%a37860%e5%bc%80%e6%94%be%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83551.html","title":{"rendered":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b"},"content":{"rendered":"<h2>CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25&#xff1f;\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b<\/h2>\n<h3>1. \u4e3a\u4ec0\u4e48\u4f60\u6253\u4e0d\u5f00 http:\/\/\u670d\u52a1\u5668IP:7860&#xff1f;<\/h3>\n<p>\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c \/bin\/bash \/root\/run.sh&#xff0c;\u7ec8\u7aef\u663e\u793a\u670d\u52a1\u5df2\u542f\u52a8&#xff0c;\u6d4f\u89c8\u5668\u5374\u63d0\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u2014\u2014\u522b\u6025&#xff0c;\u8fd9\u51e0\u4e4e\u4e0d\u662fCosyVoice2-0.5B\u672c\u8eab\u7684\u95ee\u9898&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u7f51\u7edc\u5c42\u7684\u9ed8\u8ba4\u9632\u62a4\u673a\u5236\u5728\u8d77\u4f5c\u7528\u3002<\/p>\n<p>\u963f\u91cc\u5f00\u6e90\u7684CosyVoice2-0.5B\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u96f6\u6837\u672c\u8bed\u97f3\u5408\u6210\u7cfb\u7edf&#xff0c;\u652f\u63013\u79d2\u6781\u901f\u590d\u523b\u3001\u8de8\u8bed\u79cd\u5408\u6210\u3001\u81ea\u7136\u8bed\u8a00\u63a7\u5236\u548c\u5b9e\u65f6\u6d41\u5f0f\u63a8\u7406\u3002\u5b83\u7531\u79d1\u54e5\u5b8c\u6210WebUI\u4e8c\u6b21\u5f00\u53d1&#xff0c;\u754c\u9762\u7f8e\u89c2\u3001\u529f\u80fd\u5b8c\u6574&#xff0c;\u4f46\u5b83\u7684\u8fd0\u884c\u4f9d\u8d56\u4e00\u4e2a\u5173\u952e\u524d\u63d0&#xff1a;\u4f60\u7684\u670d\u52a1\u5668\u5fc5\u987b\u5141\u8bb8\u5916\u90e8\u8bbe\u5907\u901a\u8fc77860\u7aef\u53e3\u8bbf\u95eeGradio\u670d\u52a1\u3002<\/p>\n<p>\u800c\u7edd\u5927\u591a\u6570\u4e91\u670d\u52a1\u5668&#xff08;\u963f\u91cc\u4e91ECS\u3001\u817e\u8baf\u4e91CVM\u3001\u534e\u4e3a\u4e91ECS\u7b49&#xff09;\u9ed8\u8ba4\u5173\u95ed\u6240\u6709\u975e\u57fa\u7840\u7aef\u53e3&#xff0c;7860\u4e0d\u5728\u767d\u540d\u5355\u5185&#xff0c;\u56e0\u6b64\u5373\u4f7f\u670d\u52a1\u5728\u540e\u53f0\u8dd1\u5f97\u98de\u8d77&#xff0c;\u5916\u7f51\u4e5f\u5b8c\u5168\u201c\u770b\u4e0d\u89c1\u201d\u5b83\u3002\u8fd9\u4e0d\u662fbug&#xff0c;\u662f\u5b89\u5168\u8bbe\u8ba1\u3002<\/p>\n<p>\u4e0b\u9762\u8fd9\u4efd\u6559\u7a0b&#xff0c;\u5c31\u662f\u4e13\u95e8\u5e2e\u4f60\u628a\u8fd9\u6247\u201c\u5173\u7740\u7684\u95e8\u201d\u2014\u20147860\u7aef\u53e3\u2014\u2014\u7a33\u7a33\u6253\u5f00\u3002<\/p>\n<hr \/>\n<h3>2. \u4e09\u6b65\u5b9a\u4f4d\u95ee\u9898&#xff1a;\u5148\u786e\u8ba4\u670d\u52a1\u771f\u5728\u8dd1&#xff0c;\u518d\u67e5\u7aef\u53e3\u901a\u4e0d\u901a<\/h3>\n<p>\u522b\u8df3\u8fc7\u8fd9\u4e00\u6b65\u3002\u5f88\u591a\u95ee\u9898\u5176\u5b9e\u51fa\u5728\u66f4\u5e95\u5c42\u3002<\/p>\n<h4>2.1 \u68c0\u67e5\u670d\u52a1\u8fdb\u7a0b\u662f\u5426\u5b58\u6d3b<\/h4>\n<p>\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p>ps aux | grep gradio<\/p>\n<p>\u5982\u679c\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u8f93\u51fa&#xff0c;\u8bf4\u660eGradio\u670d\u52a1\u786e\u5b9e\u5728\u8fd0\u884c&#xff1a;<\/p>\n<p>root     12345  0.1  8.2 2456789 167890 ?      Sl   10:23   0:15 python3 -m gradio.launch &#8230;<\/p>\n<p>\u8fdb\u7a0b\u5b58\u5728 \u2192 \u95ee\u9898\u4e0d\u5728\u542f\u52a8\u811a\u672c \u274c \u6ca1\u6709\u8f93\u51fa \u2192 \u5148\u56de\u770b\/root\/run.sh\u662f\u5426\u62a5\u9519&#xff0c;\u6216\u5c1d\u8bd5\u624b\u52a8\u8fd0\u884cpython3 app.py\u6392\u67e5\u4f9d\u8d56\u95ee\u9898<\/p>\n<h4>2.2 \u68c0\u67e5\u672c\u5730\u7aef\u53e3\u76d1\u542c\u72b6\u6001<\/h4>\n<p>\u7ee7\u7eed\u5728\u670d\u52a1\u5668\u4e0a\u6267\u884c&#xff1a;<\/p>\n<p>netstat -tuln | grep :7860<br \/>\n# \u6216\u4f7f\u7528\u66f4\u73b0\u4ee3\u7684\u547d\u4ee4<br \/>\nss -tuln | grep :7860<\/p>\n<p>\u7406\u60f3\u8f93\u51fa\u5e94\u4e3a&#xff1a;<\/p>\n<p>tcp6 0 0 :::7860 :::* LISTEN<\/p>\n<p>\u6ce8\u610f&#xff1a;:::7860 \u8868\u793a\u670d\u52a1\u76d1\u542c\u7684\u662fIPv6\u7684\u5168\u90e8\u5730\u5740&#xff08;\u5305\u62ecIPv4\u6620\u5c04&#xff09;&#xff0c;\u8fd9\u662fGradio 4.0&#043;\u7684\u9ed8\u8ba4\u884c\u4e3a&#xff0c;\u5b8c\u5168\u6b63\u5e38\u3002 \u274c \u5982\u679c\u8f93\u51fa\u4e3a\u7a7a&#xff0c;\u8bf4\u660eGradio\u6ca1\u6709\u7ed1\u5b9a\u52307860\u7aef\u53e3\u2014\u2014\u68c0\u67e5app.py\u4e2dlaunch()\u53c2\u6570\u662f\u5426\u8bef\u5199\u4e86server_port&#061;7861\u4e4b\u7c7b&#xff0c;\u6216\u88ab\u5176\u4ed6\u914d\u7f6e\u8986\u76d6\u3002<\/p>\n<h4>2.3 \u6d4b\u8bd5\u672c\u5730\u80fd\u5426\u8bbf\u95ee&#xff08;\u5173\u952e\u9a8c\u8bc1&#xff09;<\/h4>\n<p>\u5728\u670d\u52a1\u5668\u5185\u90e8&#xff0c;\u7528curl\u6d4b\u8bd5&#xff1a;<\/p>\n<p>curl -I http:\/\/127.0.0.1:7860<br \/>\n# \u6216<br \/>\ncurl -I http:\/\/localhost:7860<\/p>\n<p>\u5982\u679c\u8fd4\u56de HTTP\/1.1 200 OK&#xff0c;\u606d\u559c&#xff0c;\u670d\u52a1\u672c\u8eab100%\u5065\u5eb7\u3002 \u274c \u5982\u679c\u8fd4\u56de Failed to connect&#xff0c;\u8bf4\u660eGradio\u6839\u672c\u6ca1\u57287860\u4e0a\u63d0\u4f9b\u670d\u52a1&#xff0c;\u9700\u56de\u6eaf\u4ee3\u7801\u914d\u7f6e\u3002<\/p>\n<p>\u53ea\u6709\u5f53\u8fd9\u4e09\u6b65\u5168\u90e8&#xff0c;\u624d\u80fd\u786e\u5b9a&#xff1a;\u95ee\u9898100%\u51fa\u5728\u7f51\u7edc\u7b56\u7565\u4e0a\u2014\u2014\u7aef\u53e3\u672a\u653e\u884c\u3002<\/p>\n<hr \/>\n<h3>3. \u5f00\u653e7860\u7aef\u53e3&#xff1a;\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u914d\u7f6e\u5b9e\u64cd<\/h3>\n<p>\u8fd9\u662f\u6700\u5e38\u5361\u4f4f\u65b0\u624b\u7684\u73af\u8282\u3002\u4e0d\u540c\u4e91\u5382\u5546\u754c\u9762\u7565\u6709\u5dee\u5f02&#xff0c;\u4f46\u903b\u8f91\u5b8c\u5168\u4e00\u81f4&#xff1a;\u5728\u201c\u5b89\u5168\u7ec4\u201d\u91cc\u6dfb\u52a0\u4e00\u6761\u5165\u65b9\u5411\u89c4\u5219&#xff0c;\u653e\u884cTCP\u534f\u8bae\u76847860\u7aef\u53e3\u3002<\/p>\n<h4>3.1 \u963f\u91cc\u4e91ECS&#xff08;\u6700\u5e38\u89c1\u573a\u666f&#xff09;<\/h4>\n<li>\u767b\u5f55 \u963f\u91cc\u4e91\u63a7\u5236\u53f0<\/li>\n<li>\u5de6\u4fa7\u83dc\u5355\u9009\u62e9 \u5b9e\u4f8b\u4e0e\u955c\u50cf &gt; \u5b9e\u4f8b<\/li>\n<li>\u627e\u5230\u4f60\u7684\u76ee\u6807ECS\u5b9e\u4f8b&#xff0c;\u70b9\u51fb\u53f3\u4fa7 \u66f4\u591a &gt; \u7f51\u7edc\u548c\u5b89\u5168\u7ec4 &gt; \u5b89\u5168\u7ec4\u914d\u7f6e<\/li>\n<li>\u5728\u5f39\u51fa\u7684\u5b89\u5168\u7ec4\u5217\u8868\u4e2d&#xff0c;\u70b9\u51fb\u53f3\u4fa7 \u914d\u7f6e\u89c4\u5219<\/li>\n<li>\u5207\u6362\u5230 \u5165\u65b9\u5411 \u9875\u7b7e&#xff0c;\u70b9\u51fb \u624b\u52a8\u6dfb\u52a0<\/li>\n<li>\u586b\u5199\u89c4\u5219&#xff1a;\n<ul>\n<li>\u6388\u6743\u7b56\u7565&#xff1a;\u5141\u8bb8<\/li>\n<li>\u534f\u8bae\u7c7b\u578b&#xff1a;\u81ea\u5b9a\u4e49TCP<\/li>\n<li>\u7aef\u53e3\u8303\u56f4&#xff1a;7860\/7860<\/li>\n<li>\u6388\u6743\u5bf9\u8c61&#xff1a;\n<ul>\n<li>\u82e5\u4ec5\u81ea\u5df1\u7535\u8111\u8bbf\u95ee&#xff1a;\u586b\u4f60\u672c\u5730\u516c\u7f51IP&#xff08;\u5982 203.208.60.1\/32&#xff09;<\/li>\n<li>\u82e5\u591a\u4eba\u4e34\u65f6\u8c03\u8bd5&#xff1a;\u586b 0.0.0.0\/0&#xff08;\u8c03\u8bd5\u5b8c\u52a1\u5fc5\u6539\u56de&#xff01;&#xff09;<\/li>\n<li>\u63a8\u8350\u65b9\u6848&#xff1a;\u586b\u4f60\u516c\u53f8\/\u5bb6\u5ead\u5bbd\u5e26\u7684\u516c\u7f51IP\u6bb5&#xff08;\u5982 114.114.114.0\/24&#xff09;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u63cf\u8ff0&#xff1a;\u53ef\u586b\u201cCosyVoice2 WebUI\u8bbf\u95ee\u201d<\/li>\n<li>\u70b9\u51fb \u786e\u5b9a&#xff0c;\u89c4\u5219\u7acb\u5373\u751f\u6548<\/li>\n<p>\u5c0f\u6280\u5de7&#xff1a;\u963f\u91cc\u4e91\u6709\u65f6\u7f13\u5b58\u65e7\u89c4\u5219&#xff0c;\u6dfb\u52a0\u540e\u82e5\u4ecd\u4e0d\u901a&#xff0c;\u53ef\u5c1d\u8bd5\u91cd\u542fECS\u5b9e\u4f8b&#xff08;\u975e\u5fc5\u9700&#xff0c;\u4f46\u80fd\u5f7b\u5e95\u5237\u65b0\u7f51\u7edc\u6808&#xff09;<\/p>\n<h4>3.2 \u817e\u8baf\u4e91CVM<\/h4>\n<li>\u767b\u5f55 \u817e\u8baf\u4e91\u63a7\u5236\u53f0<\/li>\n<li>\u5de6\u4fa7\u5bfc\u822a&#xff1a;\u4e91\u670d\u52a1\u5668 &gt; \u5b9e\u4f8b<\/li>\n<li>\u627e\u5230\u5b9e\u4f8b&#xff0c;\u70b9\u51fb \u66f4\u591a &gt; \u7f51\u7edc &gt; \u5b89\u5168\u7ec4<\/li>\n<li>\u70b9\u51fb\u5173\u8054\u7684\u5b89\u5168\u7ec4\u540d\u79f0\u8fdb\u5165\u8be6\u60c5\u9875<\/li>\n<li>\u5207\u6362\u5230 \u5165\u7ad9\u89c4\u5219&#xff0c;\u70b9\u51fb \u6dfb\u52a0\u89c4\u5219<\/li>\n<li>\u8bbe\u7f6e&#xff1a;\n<ul>\n<li>\u6765\u6e90&#xff1a;\u586b\u5199\u4f60\u7684IP\u6216 0.0.0.0\/0<\/li>\n<li>\u534f\u8bae\u7aef\u53e3&#xff1a;TCP:7860<\/li>\n<li>\u7b56\u7565&#xff1a;\u5141\u8bb8<\/li>\n<li>\u63cf\u8ff0&#xff1a;CosyVoice2-0.5B UI<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb \u5b8c\u6210<\/li>\n<h4>3.3 \u534e\u4e3a\u4e91ECS<\/h4>\n<li>\u767b\u5f55 \u534e\u4e3a\u4e91\u63a7\u5236\u53f0<\/li>\n<li>\u5de6\u4fa7&#xff1a;\u5f39\u6027\u4e91\u670d\u52a1\u5668 &gt; \u670d\u52a1\u5668\u5217\u8868<\/li>\n<li>\u70b9\u51fb\u5b9e\u4f8b\u540d\u79f0&#xff0c;\u8fdb\u5165\u8be6\u60c5\u9875 \u2192 \u5b89\u5168\u7ec4 \u6807\u7b7e\u9875<\/li>\n<li>\u70b9\u51fb\u53f3\u4fa7 \u7ba1\u7406\u89c4\u5219 \u2192 \u5165\u65b9\u5411\u89c4\u5219 \u2192 \u6dfb\u52a0\u89c4\u5219<\/li>\n<li>\u586b\u5199&#xff1a;\n<ul>\n<li>\u534f\u8bae&#xff1a;TCP<\/li>\n<li>\u7aef\u53e3\u8303\u56f4&#xff1a;7860<\/li>\n<li>\u6e90\u5730\u5740&#xff1a;\u4f60\u7684IP\u6216 0.0.0.0\/0<\/li>\n<li>\u63cf\u8ff0&#xff1a;CosyVoice2 WebUI<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb \u786e\u5b9a<\/li>\n<h4>3.4 \u672c\u5730\u7269\u7406\u673a\u6216\u865a\u62df\u673a&#xff08;\u65e0\u4e91\u5e73\u53f0&#xff09;<\/h4>\n<p>\u5982\u679c\u4f60\u662f\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u7528VMware\/VirtualBox\u8dd1Ubuntu&#xff0c;\u8fd8\u9700\u989d\u5916\u4e24\u6b65&#xff1a;<\/p>\n<ul>\n<li>\u865a\u62df\u673a\u7f51\u7edc\u8bbe\u7f6e&#xff1a;\u786e\u4fdd\u7f51\u7edc\u6a21\u5f0f\u4e3a \u6865\u63a5\u6a21\u5f0f&#xff08;Bridged&#xff09;&#xff0c;\u800c\u975eNAT\u3002NAT\u6a21\u5f0f\u4e0b&#xff0c;\u5bbf\u4e3b\u673a\u65e0\u6cd5\u76f4\u63a5\u8bbf\u95ee\u865a\u62df\u673a\u7aef\u53e3\u3002<\/li>\n<li>\u7cfb\u7edf\u9632\u706b\u5899\u653e\u884c&#xff1a;# Ubuntu\/Debian<br \/>\nsudo ufw allow 7860\/tcp<br \/>\nsudo ufw reload<\/p>\n<p># CentOS\/RHEL<br \/>\nsudo firewall-cmd &#8211;permanent &#8211;add-port&#061;7860\/tcp<br \/>\nsudo firewall-cmd &#8211;reload\n <\/li>\n<\/ul>\n<hr \/>\n<h3>4. Gradio\u670d\u52a1\u7ed1\u5b9a\u914d\u7f6e&#xff1a;\u8ba9\u670d\u52a1\u771f\u6b63\u201c\u542c\u201d\u5916\u7f51\u8bf7\u6c42<\/h3>\n<p>\u5373\u4f7f\u7aef\u53e3\u5f00\u4e86&#xff0c;Gradio\u9ed8\u8ba4\u53ea\u76d1\u542c 127.0.0.1&#xff08;\u672c\u5730\u56de\u73af&#xff09;&#xff0c;\u4e0d\u63a5\u53d7\u5916\u90e8\u8fde\u63a5\u3002\u5fc5\u987b\u663e\u5f0f\u544a\u8bc9\u5b83&#xff1a;\u201c\u5bf9\u5916\u655e\u5f00\u201d\u3002<\/p>\n<h4>4.1 \u4fee\u6539\u542f\u52a8\u811a\u672c \/root\/run.sh<\/h4>\n<p>\u6253\u5f00\u6587\u4ef6&#xff1a;<\/p>\n<p>nano \/root\/run.sh<\/p>\n<p>\u627e\u5230\u542f\u52a8Gradio\u7684\u90a3\u884c\u547d\u4ee4&#xff08;\u901a\u5e38\u662f python3 app.py \u6216 gradio app.py&#xff09;&#xff0c;\u5728\u5176\u540e\u6dfb\u52a0\u53c2\u6570&#xff1a;<\/p>\n<p>&#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<p>\u5b8c\u6574\u793a\u4f8b&#xff1a;<\/p>\n<p>#!\/bin\/bash<br \/>\ncd \/root\/CosyVoice2-0.5B<br \/>\npython3 app.py &#8211;server-name 0.0.0.0 &#8211;server-port 7860<\/p>\n<p>&#8211;server-name 0.0.0.0 \u662f\u5173\u952e&#xff01;\u5b83\u8ba9Gradio\u76d1\u542c\u6240\u6709\u7f51\u7edc\u63a5\u53e3&#xff08;\u5305\u62ec\u5916\u7f51IP&#xff09; \u274c \u4e0d\u8981\u5199\u6210 &#8211;server-name 127.0.0.1&#xff0c;\u8fd9\u662f\u9ed8\u8ba4\u503c&#xff0c;\u53ea\u9650\u672c\u5730\u8bbf\u95ee<\/p>\n<h4>4.2 \u9a8c\u8bc1\u4fee\u6539\u662f\u5426\u751f\u6548<\/h4>\n<p>\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p>\/bin\/bash \/root\/run.sh<\/p>\n<p>\u518d\u6b21\u6267\u884c ss -tuln | grep :7860&#xff0c;\u73b0\u5728\u4f60\u5e94\u8be5\u770b\u5230&#xff1a;<\/p>\n<p>tcp6 0 0 *:7860 [*]:* LISTEN<br \/>\n# \u6ce8\u610f&#xff1a;*:7860 \u8868\u793a\u76d1\u542c\u6240\u6709IPv4\u548cIPv6\u5730\u5740&#xff0c;\u8fd9\u624d\u662f\u5bf9\u5916\u670d\u52a1\u7684\u72b6\u6001<\/p>\n<hr \/>\n<h3>5. \u6700\u7ec8\u9a8c\u8bc1\u4e0e\u6545\u969c\u6392\u9664\u6e05\u5355<\/h3>\n<p>\u505a\u5b8c\u4ee5\u4e0a\u6240\u6709\u6b65\u9aa4&#xff0c;\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5e94\u8be5\u80fd\u770b\u5230\u7d2b\u84dd\u6e10\u53d8\u80cc\u666f\u7684CosyVoice2-0.5B\u754c\u9762\u3002<\/p>\n<p>\u5982\u679c\u4f9d\u7136\u5931\u8d25&#xff0c;\u8bf7\u6309\u987a\u5e8f\u81ea\u67e5&#xff1a;<\/p>\n<table>\n<tr>\u68c0\u67e5\u9879\u64cd\u4f5c\u9884\u671f\u7ed3\u679c<\/tr>\n<tbody>\n<tr>\n<td>\u2460 \u670d\u52a1\u8fdb\u7a0b<\/td>\n<td>ps aux | grep gradio<\/td>\n<td>\u663e\u793aPython\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>\u2461 \u7aef\u53e3\u76d1\u542c<\/td>\n<td>ss -tuln | grep :7860<\/td>\n<td>\u663e\u793a *:7860 \u6216 *:*:7860<\/td>\n<\/tr>\n<tr>\n<td>\u2462 \u672c\u5730\u8bbf\u95ee<\/td>\n<td>curl -I http:\/\/127.0.0.1:7860<\/td>\n<td>\u8fd4\u56de 200 OK<\/td>\n<\/tr>\n<tr>\n<td>\u2463 \u5916\u7f51\u8fde\u901a\u6027<\/td>\n<td>\u5728\u81ea\u5df1\u7535\u8111CMD\/\u7ec8\u7aef\u6267\u884c telnet \u4f60\u7684IP 7860<\/td>\n<td>\u663e\u793a\u201c\u6b63\u5728\u8fde\u63a5&#8230;\u201d\u5373\u901a&#xff08;Windows\u9700\u542f\u7528Telnet\u5ba2\u6237\u7aef&#xff09;\u6216 nc -zv \u4f60\u7684IP 7860&#xff08;Mac\/Linux&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u2464 \u5b89\u5168\u7ec4\u89c4\u5219<\/td>\n<td>\u767b\u5f55\u4e91\u63a7\u5236\u53f0&#xff0c;\u786e\u8ba4\u5165\u65b9\u5411\u67097860 TCP\u89c4\u5219\u4e14\u72b6\u6001\u4e3a\u201c\u5df2\u751f\u6548\u201d<\/td>\n<td>\u89c4\u5219\u5b58\u5728\u4e14\u751f\u6548\u65f6\u95f4\u22641\u5206\u949f<\/td>\n<\/tr>\n<tr>\n<td>\u2465 \u6d4f\u89c8\u5668\u7f13\u5b58<\/td>\n<td>\u5f3a\u5236\u5237\u65b0&#xff08;Ctrl&#043;F5&#xff09;\u6216\u6362\u9690\u8eab\u7a97\u53e3\u8bbf\u95ee<\/td>\n<td>\u6392\u9664\u524d\u7aef\u7f13\u5b58\u5e72\u6270<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7279\u522b\u63d0\u9192&#xff1a;\u67d0\u4e9b\u5730\u533a\u5bbd\u5e26\u8fd0\u8425\u5546\u4f1a\u5c01\u7981\u975e\u6807\u51c6\u7aef\u53e3&#xff08;\u59827860&#xff09;\u3002\u82e5\u6240\u6709\u68c0\u67e5\u90fd\u901a\u8fc7\u4f46\u5916\u7f51\u4ecd\u4e0d\u901a&#xff0c;\u53ef\u4e34\u65f6\u5c06Gradio\u7aef\u53e3\u6539\u4e3a80&#xff08;\u9700root\u6743\u9650&#xff09;\u62168080&#xff0c;\u518d\u8bd5\u4e00\u6b21\u3002\u82e58080\u80fd\u901a&#xff0c;\u5219\u57fa\u672c\u786e\u8ba4\u662f\u8fd0\u8425\u5546QoS\u7b56\u7565\u9650\u5236\u3002<\/p>\n<hr \/>\n<h3>6. \u5b89\u5168\u52a0\u56fa\u5efa\u8bae&#xff1a;\u5f00\u653e\u2260\u88f8\u5954<\/h3>\n<p>\u7aef\u53e3\u5f00\u653e\u540e&#xff0c;\u8bf7\u52a1\u5fc5\u505a\u4ee5\u4e0b\u6700\u5c0f\u5316\u52a0\u56fa&#xff1a;<\/p>\n<ul>\n<li>\u7acb\u5373\u6536\u56de\u5bbd\u6cdb\u6388\u6743&#xff1a;\u5c06\u5b89\u5168\u7ec4\u4e2d\u7684 0.0.0.0\/0 \u6539\u4e3a\u4f60\u771f\u5b9e\u4f7f\u7528\u7684\u56fa\u5b9aIP&#xff08;\u5982\u5bb6\u5ead\u5bbd\u5e26IP&#xff09;&#xff0c;\u907f\u514d\u88ab\u6076\u610f\u626b\u63cf\u3002<\/li>\n<li>\u8bbe\u7f6e\u57fa\u7840\u8ba4\u8bc1&#xff08;\u53ef\u9009\u4f46\u63a8\u8350&#xff09;&#xff1a;\u5728app.py\u7684launch()\u4e2d\u6dfb\u52a0auth&#061;(&#034;admin&#034;, &#034;your_strong_password&#034;)&#xff0c;\u542f\u7528\u767b\u5f55\u4fdd\u62a4\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0&#xff1a;\u5173\u6ce8CosyVoice2\u5b98\u65b9\u4ed3\u5e93\u66f4\u65b0&#xff0c;\u53ca\u65f6\u62c9\u53d6\u4fee\u590d\u8865\u4e01\u3002<\/li>\n<li>\u8d44\u6e90\u76d1\u63a7&#xff1a;\u8bed\u97f3\u5408\u6210\u8f83\u8017GPU&#xff0c;\u7528nvidia-smi\u89c2\u5bdf\u663e\u5b58\u5360\u7528&#xff0c;\u907f\u514d\u88ab\u6076\u610f\u63d0\u4ea4\u5927\u6587\u672c\u62d6\u57ae\u670d\u52a1\u3002<\/li>\n<\/ul>\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>CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25&#xff1f;\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b<br \/>\n1. \u4e3a\u4ec0\u4e48\u4f60\u6253\u4e0d\u5f00 http:\/\/\u670d\u52a1\u5668IP:7860&#xff1f;<br \/>\n\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c \/bin\/bash \/root\/run.sh&#xff0c;\u7ec8\u7aef\u663e\u793a\u670d\u52a1\u5df2\u542f\u52a8&#xff0c;\u6d4f\u89c8\u5668\u5374\u63d0\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u2014\u2014\u522b\u6025&#xff0c;\u8fd9\u51e0\u4e4e\u4e0d\u662fCosyVoice2-0.5B\u672c\u8eab\u7684\u95ee\u9898&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u7f51\u7edc\u5c42\u7684\u9ed8\u8ba4\u9632\u62a4\u673a\u5236\u5728\u8d77\u4f5c\u7528\u3002<br \/>\n\u963f\u91cc\u5f00\u6e90\u7684CosyV<\/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":[9362,6851,9251,1871],"topic":[],"class_list":["post-83551","post","type-post","status-publish","format-standard","hentry","category-server","tag-9362","tag-gpu","tag-9251","tag-ai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \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\/83551.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25&#xff1f;\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b 1. \u4e3a\u4ec0\u4e48\u4f60\u6253\u4e0d\u5f00 http:\/\/\u670d\u52a1\u5668IP:7860&#xff1f; \u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c \/bin\/bash \/root\/run.sh&#xff0c;\u7ec8\u7aef\u663e\u793a\u670d\u52a1\u5df2\u542f\u52a8&#xff0c;\u6d4f\u89c8\u5668\u5374\u63d0\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u2014\u2014\u522b\u6025&#xff0c;\u8fd9\u51e0\u4e4e\u4e0d\u662fCosyVoice2-0.5B\u672c\u8eab\u7684\u95ee\u9898&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u7f51\u7edc\u5c42\u7684\u9ed8\u8ba4\u9632\u62a4\u673a\u5236\u5728\u8d77\u4f5c\u7528\u3002 \u963f\u91cc\u5f00\u6e90\u7684CosyV\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83551.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-25T18:11:35+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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83551.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83551.html\",\"name\":\"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T18:11:35+00:00\",\"dateModified\":\"2026-07-25T18:11:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83551.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83551.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83551.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b\"}]},{\"@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":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \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\/83551.html","og_locale":"zh_CN","og_type":"article","og_title":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25&#xff1f;\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b 1. \u4e3a\u4ec0\u4e48\u4f60\u6253\u4e0d\u5f00 http:\/\/\u670d\u52a1\u5668IP:7860&#xff1f; \u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c \/bin\/bash \/root\/run.sh&#xff0c;\u7ec8\u7aef\u663e\u793a\u670d\u52a1\u5df2\u542f\u52a8&#xff0c;\u6d4f\u89c8\u5668\u5374\u63d0\u793a\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u6216\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u2014\u2014\u522b\u6025&#xff0c;\u8fd9\u51e0\u4e4e\u4e0d\u662fCosyVoice2-0.5B\u672c\u8eab\u7684\u95ee\u9898&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u7f51\u7edc\u5c42\u7684\u9ed8\u8ba4\u9632\u62a4\u673a\u5236\u5728\u8d77\u4f5c\u7528\u3002 \u963f\u91cc\u5f00\u6e90\u7684CosyV","og_url":"https:\/\/www.wsisp.com\/helps\/83551.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T18:11:35+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83551.html","url":"https:\/\/www.wsisp.com\/helps\/83551.html","name":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T18:11:35+00:00","dateModified":"2026-07-25T18:11:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83551.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83551.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83551.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"CosyVoice2-0.5B\u670d\u52a1\u5668IP\u8bbf\u95ee\u5931\u8d25\uff1f\u7aef\u53e37860\u5f00\u653e\u914d\u7f6e\u6559\u7a0b"}]},{"@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\/83551","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=83551"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83551\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83551"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}