{"id":57962,"date":"2025-08-15T23:20:18","date_gmt":"2025-08-15T15:20:18","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/57962.html"},"modified":"2025-08-15T23:20:18","modified_gmt":"2025-08-15T15:20:18","slug":"windows-server%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e9%83%a8%e7%bd%b2python%e9%a1%b9%e7%9b%ae%e5%9f%9f%e5%90%8d%e8%ae%bf%e9%97%ae%ef%bc%88%e8%b6%85%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/57962.html","title":{"rendered":"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09"},"content":{"rendered":"<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6211\u4eec\u73b0\u5728\u5df2\u7ecf<span style=\"color:#ff0000\">\u5f00\u53d1\u597d\u4e86\u4e00\u4e2apython3.10.6&#043;flask&#043;sqlite\u7684web\u9879\u76ee<\/span>&#xff0c;\u60f3\u8981\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a&#xff0c;\u7531\u4e8e\u5f00\u53d1\u548c\u6d4b\u8bd5\u90fd\u662f\u5728windows\u7cfb\u7edf\u4e0a&#xff0c;\u6240\u4ee5\u6211\u4eec\u5e0c\u671b\u5728\u670d\u52a1\u5668\u4e0a\u4e5f\u91c7\u7528windows server\u7cfb\u7edf\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u4e0a\u6587&#xff0c;\u6211\u4eec\u5df2\u7ecf\u90e8\u7f72\u597d\u4e86\u516c\u7f51IP\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9&#xff0c;\u4f46\u662f\u73b0\u5728\u8fd8\u4e0d\u80fd\u7ed1\u5b9a\u57df\u540d\u8bbf\u95ee&#xff0c;\u89e3\u6790\u6211\u4eec\u7ee7\u7eed\u90e8\u7f72&#xff0c;\u5b9e\u73b0\u57df\u540d\u8bbf\u95ee\u7f51\u7ad9\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8bf7\u5148\u770b\u4ee5\u4e0b\u6587\u7ae0&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">&#xff08;1&#xff09;\u5f00\u53d1\u4e00\u4e2apython3.10.6&#043;flask&#043;sqlite\u7684web\u9879\u76ee&#xff1a;python3.10.6&#043;flask&#043;sqlite\u5f00\u53d1\u4e00\u4e2a\u8d8a\u5357\u7559\u5b66\u4e2d\u56fd\u7f51\u7ad9\u7684\u6d41\u7a0b\u4e0e\u6587\u4ef6\u7ec4\u7ec7\u7ed3\u6784\u8bf4\u660e-CSDN\u535a\u5ba2\u00a0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u963f\u91cc\u4e91ECS&#043;windows server\u7cfb\u7edf\u7684\u8d2d\u4e70\u4e0e\u8fdc\u7a0b\u8fde\u63a5&#xff0c;\u53ef\u4ee5\u770b\u6211\u7684CSDN\u6587\u7ae0&#xff1a;\u963f\u91cc\u4e91ECS\u7684windows server\u7cfb\u7edf\u5982\u4f55\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;\u90e8\u7f72\u516c\u7f51IP\u8bbf\u95ee\u7f51\u7ad9&#xff1a;https:\/\/lzm07.blog.csdn.net\/article\/details\/150284006\u00a0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8981\u5c06\u672c\u5730\u53ef\u8fd0\u884c\u7684Python&#043;Flask&#043;SQLite\u9879\u76ee\u7ed1\u5b9a\u57df\u540d\u5e76\u90e8\u7f72\u5230Windows\u670d\u52a1\u5668&#xff0c;\u9700\u5b8c\u6210\u4ee5\u4e0b\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<h2 style=\"text-align:justify\">\u4e00\u3001\u57df\u540d\u89e3\u6790\u914d\u7f6e<\/h2>\n<h3 style=\"text-align:justify\">&#xff08;\u4e00&#xff09;\u8d2d\u4e70\u57df\u540d\u5e76\u89e3\u6790<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5728\u57df\u540d\u6ce8\u518c\u5546&#xff08;\u5982\u817e\u8baf\u4e91\u3001\u963f\u91cc\u4e91&#xff09;\u7684\u63a7\u5236\u53f0\u4e2d<span style=\"color:#ff0000\">\u6dfb\u52a0A\u8bb0\u5f55<\/span>&#xff0c;\u5c06\u57df\u540d\u6307\u5411\u670d\u52a1\u5668\u7684\u516c\u7f51IP\u5730\u5740\u3002\u4f8b\u5982&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u4e3b\u673a\u8bb0\u5f55&#xff1a;www\u00a0\u6216\u00a0&#064;&#xff08;\u6839\u57df\u540d&#xff09;&#xff0c;\u5f53\u524dvsic<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u8bb0\u5f55\u7c7b\u578b&#xff1a;A<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;\u8bb0\u5f55\u503c&#xff1a;\u670d\u52a1\u5668\u516c\u7f51 IP&#xff0c;\u5f53\u524d47.107.172.52<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;4&#xff09;\u9a8c\u8bc1\u89e3\u6790&#xff1a;\u4f7f\u7528\u00a0<span style=\"background-color:#d9d9d9\">nslookup <\/span><span style=\"background-color:#d9d9d9\">vsic.lsxxljy<\/span><span style=\"background-color:#d9d9d9\">.com\u00a0<\/span>\u68c0\u67e5\u662f\u5426\u6307\u5411\u6b63\u786eIP\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"253\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f2a3f2.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u7b49\u5f85900\u79d2\u540e&#xff0c;\u9a8c\u8bc1\u89e3\u6790\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"color:#ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8fd9\u91cc\u6709\u4e00\u4e2a\u6761\u4ef6&#xff0c;\u57df\u540d\u4e00\u5b9a\u8981\u5907\u6848\u624d\u53ef\u4ee5\u4f7f\u7528&#xff0c;\u540c\u65f6\u57df\u540d\u548c\u670d\u52a1\u5668\u6700\u597d\u662f\u540c\u4e00\u5bb6\u7684\u3002\u5426\u5219\u540e\u9762\u8bbe\u7f6e\u7684\u65e0\u6cd5\u8bbf\u95ee\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<h2 style=\"text-align:justify\">\u4e8c\u3001\u90e8\u7f72Flask\u5e94\u7528<\/h2>\n<h3 style=\"text-align:justify\">&#xff08;\u4e00&#xff09;\u4f7f\u7528Waitress\u542f\u52a8\u670d\u52a1<\/h3>\n<h4 style=\"text-align:left\">1.\u5b89\u88c5\u5de5\u5177Waitress<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5\u5230\u670d\u52a1\u5668\u540e&#xff0c;\u6253\u5f00CMD&#xff0c;\u8fdb\u5165\u4f60\u7684\u9879\u76ee\u6839\u76ee\u5f55&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">cd <\/span><span style=\"background-color:#d9d9d9\">C:\\\\website\\\\<\/span><span style=\"background-color:#d9d9d9\">vietnam-study-in-china<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u8fdb\u5165vsic-venv\u865a\u62df\u73af\u5883\u7684Scripts\u76ee\u5f55&#xff0c;\u6267\u884c\u6fc0\u6d3b\u547d\u4ee4&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">vsic-venv\\\\Scripts\\\\activate<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;4&#xff09;\u8fdb\u5165\u7f51\u7ad9\u7684\u865a\u62df\u73af\u5883\u540e\u5b89\u88c5&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">pip install waitress<\/span><\/p>\n<h4 style=\"text-align:left\">2.\u542f\u52a8\u547d\u4ee4<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u8fdb\u5165\u7f51\u7ad9\u7684\u865a\u62df\u73af\u5883\u540e&#xff0c;\u4f7f\u7528waitress-serve\u542f\u52a8\u7684\u547d\u4ee4\u4e3a&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">waitress-serve &#8211;host 0.0.0.0 &#8211;port 5000 run:app<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u547d\u4ee4\u8bf4\u660e&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;&#8211;host 0.0.0.0&#xff1a;\u5141\u8bb8\u670d\u52a1\u5668\u6240\u6709\u7f51\u5361\u7684IP\u8bbf\u95ee&#xff08;\u5305\u62ec\u516c\u7f51IP&#xff09;\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;&#8211;port 5000&#xff1a;\u6307\u5b9a\u670d\u52a1\u7aef\u53e3\u4e3a5000&#xff08;\u9700\u786e\u4fdd\u8be5\u7aef\u53e3\u5df2\u5728\u963f\u91cc\u4e91\u5b89\u5168\u7ec4\u548c\u670d\u52a1\u5668\u9632\u706b\u5899\u4e2d\u5f00\u653e&#xff09;\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;run:app&#xff1a;run\u6307run.py\u6587\u4ef6&#xff08;\u9879\u76ee\u7684\u542f\u52a8\u6587\u4ef6&#xff09;&#xff0c;app\u6307\u8be5\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684Flask\u5b9e\u4f8b\u53d8\u91cf&#xff08;\u9700\u4e0erun.py\u4e2d\u7684\u5b9e\u9645\u53d8\u91cf\u540d\u4e00\u81f4&#xff09;\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"color:#ff0000\">\u4ee5\u540e\u542f\u52a8\u7f51\u7ad9&#xff0c;\u5c31\u901a\u8fc7<\/span><span style=\"color:#ff0000\">waitress-serve\u542f\u52a8<\/span><span style=\"color:#ff0000\">\u5373\u53ef&#xff0c;\u4e0d\u518d\u9700\u8981py run.py\u7684\u65b9\u5f0f\u3002<\/span><\/p>\n<h4 style=\"text-align:left\">3.\u9a8c\u8bc1\u542f\u52a8\u662f\u5426\u6210\u529f<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u547d\u4ee4\u6267\u884c\u540e&#xff0c;\u82e5\u770b\u5230\u7c7b\u4f3c\u4ee5\u4e0b\u8f93\u51fa&#xff0c;\u8bf4\u660e\u542f\u52a8\u6210\u529f&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">Serving on http:\/\/0.0.0.0:5000<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"119\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f4585f.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u6d4b\u8bd5\u8bbf\u95ee&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u5728\u670d\u52a1\u5668\u672c\u5730\u6d4f\u89c8\u5668\u8bbf\u95ee<span style=\"background-color:#d9d9d9\">http:\/\/localhost:5000<\/span><span style=\"background-color:#d9d9d9\">&#xff08;<\/span><span style=\"background-color:#d9d9d9\">\u6216\u662f<\/span><span style=\"background-color:#d9d9d9\">http:\/\/<\/span><span style=\"background-color:#d9d9d9\">127.0.0.1<\/span><span style=\"background-color:#d9d9d9\">:5000<\/span><span style=\"background-color:#d9d9d9\">&#xff09;<\/span>&#xff0c;\u786e\u8ba4\u5e94\u7528\u6b63\u5e38\u663e\u793a\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u901a\u8fc7\u516c\u7f51\u8bbf\u95ee <span style=\"background-color:#d9d9d9\">http:\/\/\u4f60\u7684\u670d\u52a1\u5668\u516c\u7f51IP:5000<\/span>&#xff0c;\u786e\u8ba4\u80fd\u6b63\u5e38\u6253\u5f00&#xff08;\u9700\u63d0\u524d\u5f00\u653e5000\u7aef\u53e3&#xff09;\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u81f3\u6b64&#xff0c;\u5c31\u53ef\u4ee5\u901a\u8fc7\u516c\u7f51IP\u8bbf\u95ee\u7f51\u7ad9&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"180\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f5a1f5.png\" width=\"691\" \/><\/p>\n<h3 style=\"text-align:justify\">&#xff08;\u4e8c&#xff09;\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;\u53ef\u9009&#xff09;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u4e3a\u907f\u514d\u670d\u52a1\u5668\u91cd\u542f\u540e\u9700\u624b\u52a8\u542f\u52a8\u5e94\u7528&#xff0c;\u53ef\u521b\u5efa\u4e00\u4e2a\u6279\u5904\u7406\u6587\u4ef6\u5b9e\u73b0\u81ea\u542f&#xff1a;<\/p>\n<h4 style=\"text-align:left\">1.\u6dfb\u52a0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">waitress\u5b89\u88c5\u597d\u540e&#xff0c;\u4f1a\u5728\u865a\u62df\u73af\u5883C:\\\\website\\\\vietnam-study-in-china\\\\vsic-venv\\\\Scripts\u8def\u5f84\u4e0b\u6709waitress-serve.exe&#xff0c;\u5c06waitress-serve.exe\u6240\u5728\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002\u6253\u5f00\u201c\u7cfb\u7edf\u5c5e\u6027\u201d-&gt;\u201c\u9ad8\u7ea7\u201d\u9009\u9879\u5361 -&gt; \u73af\u5883\u53d8\u91cf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"456\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f75b07.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<h4 style=\"text-align:left\">2.\u5728\u9879\u76ee\u6839\u76ee\u5f55\u521b\u5efa<span style=\"background-color:#d9d9d9\">start_app.bat<\/span>\u6587\u4ef6<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"color:#ff0000\">\u53ef\u4ee5\u5148\u5efa\u4e00\u4e2atxt&#xff0c;\u4e4b\u540e<\/span><span style=\"color:#ff0000\">\u201c<\/span><span style=\"color:#ff0000\">\u53e6\u5b58\u4e3a\u201d<\/span><span style=\"color:#ff0000\">\u6539\u540e\u7f00<\/span><span style=\"color:#ff0000\">&#xff0c;<\/span><span style=\"color:#ff0000\">\u6539\u6587\u4ef6\u7f16\u7801<\/span>&#xff0c;\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p>&#064;echo off<br \/>\nchcp 936 &gt;nul 2&gt;nul<\/p>\n<p>:: \u5b9a\u4e49\u9879\u76ee\u6839\u76ee\u5f55\u7684\u7edd\u5bf9\u8def\u5f84&#xff08;\u8bf7\u6839\u636e\u5b9e\u9645\u6587\u4ef6\u5939\u540d\u4fee\u6539&#xff0c;\u786e\u4fdd\u6b63\u786e&#xff09;<br \/>\nset &#034;PROJECT_DIR&#061;C:\\\\website\\\\vietnam-study-in-china&#034;<br \/>\necho \u9879\u76ee\u76ee\u5f55&#xff1a;%PROJECT_DIR%<\/p>\n<p>:: \u68c0\u67e5\u9879\u76ee\u76ee\u5f55\u662f\u5426\u5b58\u5728&#xff08;\u66ff\u4ee3cd\u547d\u4ee4\u7684\u9a8c\u8bc1&#xff09;<br \/>\nif not exist &#034;%PROJECT_DIR%&#034; (<br \/>\n\u00a0\u00a0\u00a0\u00a0echo \u9519\u8bef&#xff1a;\u9879\u76ee\u76ee\u5f55\u4e0d\u5b58\u5728&#xff01;\u8def\u5f84&#xff1a;%PROJECT_DIR%<br \/>\n\u00a0\u00a0\u00a0\u00a0pause<br \/>\n\u00a0\u00a0\u00a0\u00a0exit \/b 1<br \/>\n)<\/p>\n<p>:: \u6fc0\u6d3b\u865a\u62df\u73af\u5883&#xff08;\u7528\u7edd\u5bf9\u8def\u5f84\u8c03\u7528activate.bat&#xff09;<br \/>\nset &#034;ACTIVATE_PATH&#061;%PROJECT_DIR%\\\\vsic-venv\\\\Scripts\\\\activate.bat&#034;<br \/>\nif exist &#034;%ACTIVATE_PATH%&#034; (<br \/>\n\u00a0\u00a0\u00a0\u00a0call &#034;%ACTIVATE_PATH%&#034;<br \/>\n\u00a0\u00a0\u00a0\u00a0echo \u865a\u62df\u73af\u5883\u6fc0\u6d3b\u6210\u529f<br \/>\n) else (<br \/>\n\u00a0\u00a0\u00a0\u00a0echo \u9519\u8bef&#xff1a;\u672a\u627e\u5230\u865a\u62df\u73af\u5883\u6fc0\u6d3b\u811a\u672c&#xff01;\u8def\u5f84&#xff1a;%ACTIVATE_PATH%<br \/>\n\u00a0\u00a0\u00a0\u00a0pause<br \/>\n\u00a0\u00a0\u00a0\u00a0exit \/b 1<br \/>\n)<\/p>\n<p>:: \u542f\u52a8\u670d\u52a1&#xff08;\u7528\u7edd\u5bf9\u8def\u5f84\u8c03\u7528waitress-serve&#xff0c;\u5e76\u6307\u5b9a\u5de5\u4f5c\u76ee\u5f55\u4e3a\u9879\u76ee\u6839\u76ee\u5f55&#xff09;<br \/>\nset &#034;WAITRESS_PATH&#061;%PROJECT_DIR%\\\\vsic-venv\\\\Scripts\\\\waitress-serve.exe&#034;<br \/>\nif exist &#034;%WAITRESS_PATH%&#034; (<br \/>\n\u00a0\u00a0\u00a0\u00a0echo \u6b63\u5728\u542f\u52a8\u670d\u52a1&#8230;<br \/>\n\u00a0\u00a0\u00a0\u00a0&#034;%WAITRESS_PATH%&#034; &#8211;host 0.0.0.0 &#8211;port 5000 run:app<br \/>\n) else (<br \/>\n\u00a0\u00a0\u00a0\u00a0echo \u9519\u8bef&#xff1a;\u672a\u627e\u5230waitress-serve.exe&#xff01;\u8def\u5f84&#xff1a;%WAITRESS_PATH%<br \/>\n\u00a0\u00a0\u00a0\u00a0pause<br \/>\n\u00a0\u00a0\u00a0\u00a0exit \/b 1<br \/>\n) <\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u53e6\u5b58\u4e3a\u65f6<span style=\"color:#ff0000\">\u4e00\u5b9a\u8981\u9009\u62e9\u7f16\u7801ANSI<\/span>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"434\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f92419.png\" width=\"692\" \/><\/p>\n<h4 style=\"text-align:left\">3.\u5c06\u8be5\u6279\u5904\u7406\u6587\u4ef6\u6dfb\u52a0\u5230Windows\u542f\u52a8\u76ee\u5f55<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u6309\u4e0bWin &#043; R&#xff0c;\u8f93\u5165<span style=\"background-color:#d9d9d9\">shell:startup<\/span>\u6253\u5f00\u542f\u52a8\u6587\u4ef6\u5939\u3002<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"298\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502fb64d1.png\" width=\"543\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">&#xff08;2&#xff09;\u5c06<span style=\"color:#ff0000\">start_app.bat\u7684\u5feb\u6377\u65b9\u5f0f<\/span>\u590d\u5236\u5230\u8be5\u6587\u4ef6\u5939C:\\\\Users\\\\admin\\\\AppData\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Startup\u00a0\u76ee\u5f55&#xff08;\u7a0b\u5e8f\u542f\u52a8\u76ee\u5f55&#xff09;\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"330\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f503003593.png\" width=\"692\" \/><\/p>\n<h4 style=\"text-align:left\">4.\u6d4b\u8bd5bat\u6587\u4ef6<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u76f4\u63a5\u53cc\u51fbC:\\\\website\\\\vietnam-study-in-china\\\\start_app.bat&#xff0c;\u89c2\u5bdf\u662f\u5426\u80fd\u542f\u52a8\u7f51\u7ad9&#xff08;\u6b63\u5e38\u60c5\u51b5\u4e0b\u4f1a\u5f39\u51fa\u547d\u4ee4\u884c\u7a97\u53e3&#xff0c;\u663e\u793aServing on http:\/\/0.0.0.0:5000&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"144\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f50302259c.png\" width=\"692\" \/><\/p>\n<h2 style=\"text-align:justify\">\u4e09\u3001\u914d\u7f6e\u53cd\u5411\u4ee3\u7406&#xff08;IIS\u6216Nginx&#xff09;<\/h2>\n<h3 style=\"text-align:justify\">\u65b9\u6848\u4e00&#xff1a;\u4f7f\u7528IIS&#xff08;Windows\u63a8\u8350&#xff09;<\/h3>\n<h4 style=\"text-align:left\">1.\u5b89\u88c5IIS&#xff1a;<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u901a\u8fc7\u300c\u63a7\u5236\u9762\u677f\u300d\u2192\u300c\u7a0b\u5e8f\u548c\u529f\u80fd\u300d\u2192\u300c\u542f\u7528\u6216\u5173\u95edWindows\u529f\u80fd\u300d\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u6253\u5f00\u300c\u670d\u52a1\u5668\u7ba1\u7406\u5668\u300d\u2192\u300c\u6dfb\u52a0\u89d2\u8272\u548c\u529f\u80fd\u300d\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;\u5728\u300c\u670d\u52a1\u5668\u89d2\u8272\u300d\u52fe\u9009\u300cWeb\u670d\u52a1\u5668&#xff08;IIS&#xff09;\u300d&#xff0c;IIS\u5373Internet Information Services\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"512\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f503036947.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;4&#xff09;\u8fdb\u5165\u201c\u529f\u80fd\u201d\u9009\u9879\u5361&#xff0c;\u5c55\u5f00\u300cWeb\u670d\u52a1\u5668&#xff08;IIS&#xff09;\u300d\u2192\u300cWeb\u670d\u52a1\u5668\u300d\u2192\u300c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u300d&#xff0c;\u786e\u4fdd\u52fe\u9009\u4ee5\u4e0b\u7ec4\u4ef6&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u300c.NET \u6269\u5c55\u60274.8\u300d&#xff08;\u5373\u4f7f\u4e0d\u4f7f\u7528.NET&#xff0c;\u4e5f\u9700\u52fe\u9009\u4ee5\u542f\u7528\u76f8\u5173\u914d\u7f6e\u9879&#xff09;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u300cCGI\u300d&#xff08;\u53cd\u5411\u4ee3\u7406\u53ef\u80fd\u4f9d\u8d56&#xff09;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u300cISAPI\u6269\u5c55\u300d\u548c\u300cISAPI\u7b5b\u9009\u5668\u300d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"493\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f503061831.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;5&#xff09;\u8fdb\u5165\u201c\u89d2\u8272\u670d\u52a1\u201d&#xff0c;\u52fe\u9009&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"493\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f50308050c.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5b8c\u6210\u5b89\u88c5\u540e\u91cd\u542f\u670d\u52a1\u5668&#xff0c;\u4f7f\u7ec4\u4ef6\u751f\u6548\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5b89\u88c5\u597d\u4e86&#xff0c;\u4e4b\u540e\u5728\u201c\u5f00\u59cb\u201d\u83dc\u5355&#xff0c;\u5c31\u53ef\u4ee5\u641c\u7d22IIS&#xff0c;\u5e76\u6253\u5f00\u4e86\u3002<\/p>\n<h4 style=\"text-align:left\">2.\u521b\u5efa\u7f51\u7ad9&#xff1a;<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;\u5728IIS\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u300c\u7f51\u7ad9\u300d\u2192\u300c\u6dfb\u52a0\u7f51\u7ad9\u300d&#xff0c;\u586b\u5199\u57df\u540d\u3001\u7269\u7406\u8def\u5f84&#xff08;\u9879\u76ee\u76ee\u5f55&#xff09;\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"568\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f5030ad29d.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff1a;\u9009\u62e9<span style=\"background-color:#d9d9d9\">\u00a0.NET CLR\u7248\u672c<\/span>\u00a0\u4e3a\u00a0<span style=\"background-color:#d9d9d9\">\u65e0\u6258\u7ba1\u4ee3\u7801<\/span>\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u6253\u5f00\u300cIIS \u7ba1\u7406\u5668\u300d\u2192 \u5de6\u4fa7\u5bfc\u822a\u680f\u5c55\u5f00\u670d\u52a1\u5668\u8282\u70b9 \u2192 \u70b9\u51fb\u300c\u5e94\u7528\u7a0b\u5e8f\u6c60\u300d\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u53f3\u952e\u9700\u8981\u914d\u7f6e\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff08;\u7f51\u7ad9\u540dvsic.lsxxljy.com&#xff09;\u2192 \u9009\u62e9\u300c\u9ad8\u7ea7\u8bbe\u7f6e\u300d&#xff08;\u800c\u975e\u201c\u57fa\u672c\u8bbe\u7f6e\u201d&#xff09;\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"359\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152016-689f5030d9c25.png\" width=\"692\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5728\u5f39\u51fa\u7684\u201c\u9ad8\u7ea7\u8bbe\u7f6e\u201d\u7a97\u53e3\u4e2d&#xff0c;\u627e\u5230\u300c.NET CLR \u7248\u672c\u300d\u9009\u9879&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u70b9\u51fb\u4e0b\u62c9\u83dc\u5355&#xff0c;\u5373\u53ef\u770b\u5230\u300c\u65e0\u6258\u7ba1\u4ee3\u7801\u300d&#xff08;No Managed Code&#xff09;\u9009\u9879\u3002<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"487\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152017-689f50310beff.png\" width=\"393\" \/><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;\u914d\u7f6eURL\u91cd\u5199&#xff1a; \u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u521b\u5efa\u00a0web.config\u00a0\u6587\u4ef6&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>&lt;?xml version&#061;&#034;1.0&#034; encoding&#061;&#034;UTF-8&#034;?&gt;&lt;configuration&gt;<br \/>\n\u00a0\u00a0&lt;system.webServer&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0&lt;rewrite&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;rules&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;rule name&#061;&#034;ReverseProxyInboundRule1&#034; stopProcessing&#061;&#034;true&#034;&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;match url&#061;&#034;(.*)&#034; \/&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;action type&#061;&#034;Rewrite&#034; url&#061;&#034;http:\/\/localhost:5000\/{R:1}&#034; \/&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/rule&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/rules&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0&lt;\/rewrite&gt;<br \/>\n\u00a0\u00a0&lt;\/system.webServer&gt;&lt;\/configuration&gt; <\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u6b64\u914d\u7f6e\u5c06\u6240\u6709\u8bf7\u6c42\u8f6c\u53d1\u5230\u672c\u57305000\u7aef\u53e3\u7684Waitress\u670d\u52a1\u3002<\/p>\n<h4 style=\"text-align:left\">3.\u57df\u540d\u8bbf\u95ee<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u8f93\u5165<span style=\"background-color:#d9d9d9\">\u00a0http:\/\/<\/span><span style=\"background-color:#d9d9d9\">vsic.lsxxljy<\/span><span style=\"background-color:#d9d9d9\">.com\u00a0<\/span>\u68c0\u67e5\u662f\u5426\u663e\u793aFlask\u5e94\u7528\u5185\u5bb9\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<h3 style=\"text-align:justify\">\u65b9\u6848\u4e8c&#xff1a;\u4f7f\u7528Nginx&#xff08;\u9ad8\u6027\u80fd\u9009\u9879&#xff09;<\/h3>\n<h4 style=\"text-align:left\">1.\u4e0b\u8f7d\u5e76\u542f\u52a8Nginx&#xff1a;<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u4ece\u5b98\u7f51\u4e0b\u8f7dWindows\u7248\u672c&#xff0c;\u89e3\u538b\u540e\u8fd0\u884c\u00a0nginx.exe\u3002<\/p>\n<h4 style=\"text-align:left\">2.\u4fee\u6539\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u7f16\u8f91\u00a0nginx.conf&#xff0c;\u5728\u00a0http\u00a0\u5757\u4e2d\u6dfb\u52a0&#xff1a;<\/p>\n<p>server {<br \/>\n\u00a0\u00a0listen 80;<br \/>\n\u00a0\u00a0server_name yourdomain.com;<br \/>\n\u00a0\u00a0location \/ {<br \/>\n\u00a0\u00a0\u00a0\u00a0proxy_pass http:\/\/localhost:5000;<br \/>\n\u00a0\u00a0\u00a0\u00a0proxy_set_header X-Real-IP $remote_addr;<br \/>\n\u00a0\u00a0\u00a0\u00a0proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n\u00a0\u00a0}<br \/>\n} <\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u4fdd\u5b58\u540e\u91cd\u542f Nginx&#xff1a;nginx -s reload\u3002<\/p>\n<h2 style=\"text-align:justify\">\u56db\u3001\u9632\u706b\u5899\u4e0e\u7aef\u53e3\u8bbe\u7f6e<\/h2>\n<h4 style=\"text-align:left\">1.\u5f00\u653e\u7aef\u53e3&#xff1a;<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;1&#xff09;HTTP&#xff08;80&#xff09;&#xff1a;\u5141\u8bb8\u5916\u90e8\u8bbf\u95ee\u57df\u540d\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;2&#xff09;HTTPS&#xff08;443&#xff09;&#xff1a;\u82e5\u542f\u7528SSL\u9700\u5f00\u653e\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">&#xff08;3&#xff09;Flask\u7aef\u53e3&#xff08;\u59825000&#xff09;&#xff1a;\u786e\u4fddWaitress\u76d1\u542c\u7684\u7aef\u53e3\u53ef\u88abIIS\/Nginx\u8bbf\u95ee\u3002<\/p>\n<h4 style=\"text-align:left\">2.\u9632\u706b\u5899\u7aef\u53e3\u8bbe\u7f6e<\/h4>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u901a\u8fc7\u300c\u63a7\u5236\u9762\u677f\u300d\u2192\u300cWindows Defender \u9632\u706b\u5899\u300d\u2192\u300c\u9ad8\u7ea7\u8bbe\u7f6e\u300d\u6dfb\u52a0\u5165\u7ad9\u89c4\u5219\u5f00\u653e\u5bf9\u5e94\u7aef\u53e3\u3002<\/p>\n<h2 style=\"text-align:justify\">\u4e94\u3001\u542f\u7528HTTPS&#xff08;\u53ef\u9009\u4f46\u63a8\u8350&#xff09;<\/h2>\n<h3 style=\"text-align:justify\">&#xff08;\u4e00&#xff09;\u7533\u8bf7SSL\u8bc1\u4e66&#xff1a;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u4f7f\u7528Let\u2019s Encrypt\u6216\u817e\u8baf\u4e91SSL\u8bc1\u4e66\u670d\u52a1\u83b7\u53d6\u514d\u8d39\u8bc1\u4e66\u3002<\/p>\n<h3 style=\"text-align:justify\">&#xff08;\u4e8c&#xff09;\u5728IIS\u4e2d\u914d\u7f6e\u8bc1\u4e66&#xff1a;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5bfc\u5165\u00a0.pfx\u00a0\u8bc1\u4e66\u5230\u300c\u670d\u52a1\u5668\u8bc1\u4e66\u300d\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5728\u7f51\u7ad9\u7ed1\u5b9a\u4e2d\u6dfb\u52a0 HTTPS \u7c7b\u578b&#xff0c;\u9009\u62e9\u8bc1\u4e66\u5e76\u6307\u5b9a 443 \u7aef\u53e3\u3002<\/p>\n<h3 style=\"text-align:justify\">&#xff08;\u4e09&#xff09;\u5f3a\u5236HTTPS\u8df3\u8f6c&#xff1a;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5728\u00a0web.config\u00a0\u4e2d\u6dfb\u52a0\u91cd\u5199\u89c4\u5219&#xff1a;<\/p>\n<p>&lt;rule name&#061;&#034;Redirect to HTTPS&#034; stopProcessing&#061;&#034;true&#034;&gt;<br \/>\n\u00a0\u00a0&lt;match url&#061;&#034;(.*)&#034; \/&gt;<br \/>\n\u00a0\u00a0&lt;conditions&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0&lt;add input&#061;&#034;{HTTPS}&#034; pattern&#061;&#034;off&#034; ignoreCase&#061;&#034;true&#034; \/&gt;<br \/>\n\u00a0\u00a0&lt;\/conditions&gt;<br \/>\n\u00a0\u00a0&lt;action type&#061;&#034;Redirect&#034; url&#061;&#034;https:\/\/{HTTP_HOST}\/{R:1}&#034; redirectType&#061;&#034;Permanent&#034; \/&gt;<br \/>\n&lt;\/rule&gt; <\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<h2 style=\"text-align:justify\">\u516d\u3001\u4ee3\u7801\u4f18\u5316\u4e0e\u5b89\u5168<\/h2>\n<h3 style=\"text-align:justify\">&#xff08;\u4e00&#xff09;\u5904\u7406\u53cd\u5411\u4ee3\u7406\u5934&#xff1a;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5728Flask\u5e94\u7528\u4e2d\u6dfb\u52a0\u4e2d\u95f4\u4ef6\u4ee5\u83b7\u53d6\u771f\u5b9e\u5ba2\u6237\u7aefIP\u548c\u534f\u8bae&#xff1a;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">from werkzeug.middleware.proxy_fix import ProxyFix<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\"><span style=\"background-color:#d9d9d9\">app.wsgi_app &#061; ProxyFix(app.wsgi_app, x_proto&#061;1, x_host&#061;1)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u907f\u514d\u56e0\u4ee3\u7406\u5bfc\u81f4\u7684\u8bf7\u6c42\u5934\u9519\u8bef\u3002<\/p>\n<h3 style=\"text-align:justify\">&#xff08;\u4e8c&#xff09;SQLite\u6ce8\u610f\u4e8b\u9879&#xff1a;<\/h3>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u6539\u7528MySQL\/PostgreSQL&#xff0c;\u907f\u514d\u5e76\u53d1\u8bbf\u95ee\u95ee\u9898\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u786e\u4fdd\u6570\u636e\u5e93\u6587\u4ef6\u8def\u5f84\u6b63\u786e&#xff0c;\u4e14IIS\/Nginx\u8fdb\u7a0b\u6709\u8bfb\u5199\u6743\u9650\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u5373\u53ef\u5b8c\u6210\u57df\u540d\u7ed1\u5b9a\u4e0e\u9879\u76ee\u90e8\u7f72\u3002\u82e5\u9700\u66f4\u9ad8\u6027\u80fd\u6216\u590d\u6742\u573a\u666f&#xff0c;\u5efa\u8bae\u8fdb\u4e00\u6b65\u4f18\u5316\u6570\u636e\u5e93\u548c\u8d1f\u8f7d\u5747\u8861\u914d\u7f6e\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb946\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf7\u6b21\u3002waitress\u5b89\u88c5\u597d\u540e\uff0c\u4f1a\u5728\u865a\u62df\u73af\u5883C:\\\\website\\\\vietnam-study-in-china\\\\vsic-venv\\\\Scripts\u8def\u5f84\u4e0b\u6709waitress-serve.exe\uff0c\u5c06waitress-serve.exe\u6240\u5728\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002\uff083\uff09run:app\uff1arun\u6307run.py\u6587\u4ef6\uff08\u9879\u76ee\u7684\u542f\u52a8\u6587\u4ef6\uff09\uff0capp\u6307\u8be5\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684Flask\u5b9e\u4f8b\u53d8\u91cf\uff08\u9700\u4e0erun.py\u4e2d\u7684\u5b9e\u9645\u53d8\u91cf\u540d\u4e00\u81f4\uff09\u3002\u5426\u5219\u540e\u9762\u8bbe\u7f6e\u7684\u65e0\u6cd5\u8bbf\u95ee\u3002\uff081\uff09\u5728IIS\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u300c\u7f51\u7ad9\u300d\u2192\u300c\u6dfb\u52a0\u7f51\u7ad9\u300d\uff0c\u586b\u5199\u57df\u540d\u3001\u7269\u7406\u8def\u5f84\uff08\u9879\u76ee\u76ee\u5f55\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":57948,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[153,81,149,43,5757],"topic":[],"class_list":["post-57962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-flask","tag-python","tag-windows","tag-43","tag-5757"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \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\/57962.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb946\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf7\u6b21\u3002waitress\u5b89\u88c5\u597d\u540e\uff0c\u4f1a\u5728\u865a\u62df\u73af\u5883C:\\website\\vietnam-study-in-china\\vsic-venv\\Scripts\u8def\u5f84\u4e0b\u6709waitress-serve.exe\uff0c\u5c06waitress-serve.exe\u6240\u5728\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002\uff083\uff09run:app\uff1arun\u6307run.py\u6587\u4ef6\uff08\u9879\u76ee\u7684\u542f\u52a8\u6587\u4ef6\uff09\uff0capp\u6307\u8be5\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684Flask\u5b9e\u4f8b\u53d8\u91cf\uff08\u9700\u4e0erun.py\u4e2d\u7684\u5b9e\u9645\u53d8\u91cf\u540d\u4e00\u81f4\uff09\u3002\u5426\u5219\u540e\u9762\u8bbe\u7f6e\u7684\u65e0\u6cd5\u8bbf\u95ee\u3002\uff081\uff09\u5728IIS\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u300c\u7f51\u7ad9\u300d\u2192\u300c\u6dfb\u52a0\u7f51\u7ad9\u300d\uff0c\u586b\u5199\u57df\u540d\u3001\u7269\u7406\u8def\u5f84\uff08\u9879\u76ee\u76ee\u5f55\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/57962.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-15T15:20:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f2a3f2.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=\"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\/57962.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/57962.html\",\"name\":\"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-15T15:20:18+00:00\",\"dateModified\":\"2025-08-15T15:20:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/57962.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/57962.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/57962.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09\"}]},{\"@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":"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \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\/57962.html","og_locale":"zh_CN","og_type":"article","og_title":"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb946\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf7\u6b21\u3002waitress\u5b89\u88c5\u597d\u540e\uff0c\u4f1a\u5728\u865a\u62df\u73af\u5883C:\\website\\vietnam-study-in-china\\vsic-venv\\Scripts\u8def\u5f84\u4e0b\u6709waitress-serve.exe\uff0c\u5c06waitress-serve.exe\u6240\u5728\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002\uff083\uff09run:app\uff1arun\u6307run.py\u6587\u4ef6\uff08\u9879\u76ee\u7684\u542f\u52a8\u6587\u4ef6\uff09\uff0capp\u6307\u8be5\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684Flask\u5b9e\u4f8b\u53d8\u91cf\uff08\u9700\u4e0erun.py\u4e2d\u7684\u5b9e\u9645\u53d8\u91cf\u540d\u4e00\u81f4\uff09\u3002\u5426\u5219\u540e\u9762\u8bbe\u7f6e\u7684\u65e0\u6cd5\u8bbf\u95ee\u3002\uff081\uff09\u5728IIS\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u300c\u7f51\u7ad9\u300d\u2192\u300c\u6dfb\u52a0\u7f51\u7ad9\u300d\uff0c\u586b\u5199\u57df\u540d\u3001\u7269\u7406\u8def\u5f84\uff08\u9879\u76ee\u76ee\u5f55\uff09\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/57962.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-15T15:20:18+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250815152015-689f502f2a3f2.png"}],"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\/57962.html","url":"https:\/\/www.wsisp.com\/helps\/57962.html","name":"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-15T15:20:18+00:00","dateModified":"2025-08-15T15:20:18+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/57962.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/57962.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/57962.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Windows server\u670d\u52a1\u5668\u4e0a\u90e8\u7f72python\u9879\u76ee\u57df\u540d\u8bbf\u95ee\uff08\u8d85\u8be6\u7ec6\u6559\u7a0b\uff09"}]},{"@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\/57962","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=57962"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/57962\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/57948"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=57962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=57962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=57962"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=57962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}