{"id":184,"date":"2019-07-20T00:29:48","date_gmt":"2019-07-19T16:29:48","guid":{"rendered":"http:\/\/qssjx.com\/?p=184"},"modified":"2023-03-02T14:09:00","modified_gmt":"2023-03-02T06:09:00","slug":"ssr","status":"publish","type":"post","link":"https:\/\/qssjx.com\/?p=184","title":{"rendered":"ssr\u7aef\u53e3\u88ab\u5360\u7528"},"content":{"rendered":"<p>\u6700\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u628a1080\u7aef\u53e3\u6362\u621012345\u7aef\u53e3\uff0c\u7b80\u5355\u65b9\u4fbf\u3002<\/p>\n<p>\u5982\u679c\u4f60\u95ee\u4e3a\u4ec0\u4e48\uff0c\u6211\u4f1a\u544a\u8bc9\u4f60\uff0c\u5fae\u8f6f\u7684\u9505\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u53ef\u80fd\u7684\u539f\u56e0\uff1a<br \/>\n\u53ef\u5f88\u591a\u65f6\u5019\uff0c\u6ca1\u6709\u8fdb\u7a0b\u5728\u5360\u75281080\u7aef\u53e3\uff0c\u4f60\u4f1a\u53d1\u73b0\uff1a<\/p>\n<p>\u662f\u7684\uff0c\u6ca1\u6709\u8fdb\u7a0b\u5360\u75281080\u7aef\u53e3\uff0c\u4f46\u5c31\u662f\u4f1a\u62a5\u9519\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5e76\u4e0d\u662f\u7aef\u53e3\u88ab\u5360\u7528\uff0c\u901a\u8fc7\u00a0netstat\u00a0\u91cc\u627e\u4e0d\u5230\u5360\u7528\u8fd9\u4e2a\u7aef\u53e3\u7684\u7a0b\u5e8f\u3002\u5b9e\u9645\u4e0a\uff0c\u8fd9\u4e2a\u9519\u8bef\u5bf9\u5e94\u7684 last-error \u662f\u00a010013 \uff08WSAEACCESS\uff09\uff0c\u6743\u9650\u4e0d\u8db3\u3002<\/p>\n<p>\u6839\u636e2018\u5e742\u670813\u65e5\u53d1\u5e03\u7684\u00a0KB4074588\u00a0\u91cc\u7684 known issue\uff0c\u8fd9\u4e2a\u8865\u4e01\u4f1a\u8c03\u6574\u64cd\u4f5c\u7cfb\u7edf\u7684 reserve port ranges\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c \u4ee5\u4e0b\u6307\u4ee4\u67e5\u770b\u3002<\/p>\n<p>netsh interface ipv4 show excludedportrange protocol=tcp<br \/>\n\u5728\u6211\u81ea\u5df1\u7684\u73af\u5883\u91cc\uff0c1027\u00a0~ 1126 \u90fd\u88ab\u7cfb\u7edf\u5f3a\u5236\u4fdd\u7559\u4e86\uff0c\u6240\u4ee5\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u65e0\u6cd5\u76d1\u542c\u5728\u8fd9\u4e2a\u7aef\u53e3\uff0c\u6bd4\u59821080\u3002<\/p>\n<p>workaround \u8981\u9009\u53d6\u7684\u7aef\u53e3\u4e5f\u53ea\u80fd\u907f\u5f00\u8fd9\u4e9b\u4fdd\u7559\u7aef\u53e3\u3002<\/p>\n<p>\u6700\u540e\u5efa\u8bae\uff1ass \u53ef\u4ee5\u505a\u4e00\u4e0b 10013\uff08WSAEACCES\uff09 \u548c 10048\uff08WSAEADDRINUSE\uff09\u7684\u5206\u7c7b\u5904\u7406\u3002\u6bd5\u7adf\u770b\u8d77\u6765\u4e4b\u540e\u8fd9\u4e2a\u5730\u65b9\u4f1a\u51fa\u73b0\u5751\u4e0d\u4f1a\u5c11\u3002<\/p>\n<p>\u6ce8\uff1a\u5c1d\u8bd5\u4f7f\u7528\u00a0netsh interface ipv4 delete excludedportrange &#8230;\u00a0\u4f1a\u63d0\u793a access is denied\uff0c\u76ee\u524d\u627e\u4e0d\u5230\u53ef\u4ee5\u8ba4\u4e3a\u8c03\u6574\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u4ee5\u4e0a\u53c2\u8003https:\/\/github.com\/shadowsocks\/shadowsocks-windows\/issues\/1835<\/p>\n<p>\u9664\u4e86\u7cfb\u7edf\u8865\u4e01\u4f1a\u4fdd\u7559\u7aef\u53e3\u5916\uff0c\u5f00\u542fwin10\u7684hyper-v\u4e5f\u4f1a\u4fdd\u7559\u7aef\u53e3\uff0c\u6bd4\u5982\u6211\u81ea\u5df1<\/p>\n<p>\u89e3\u51b3\u65b9\u6848\uff1a<br \/>\n\u66f4\u6539SSR\u7684\u672c\u5730\u7aef\u53e3<\/p>\n<p>\u5728SSR4.0.exe\u6240\u5728\u76ee\u5f55\u4e0b\uff0c\u627e\u5230gui-config.json\uff0c\u5e76\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u3002<\/p>\n<p>\u627e\u5230&#8221;localPort&#8221;: 1080,\uff0c\u5c06\u5176\u4fee\u6539\u4e3a&#8221;localPort&#8221;: 12345,\u8fd9\u91cc\u6211\u968f\u4fbf\u9009\u4e86\u4e00\u4e2a\u6ca1\u4fdd\u7559\u7684\u7aef\u53e3\u3002<\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u3002\u91cd\u542fSSR\u3002<\/p>\n<p>\u6ce8\u610f\uff1a\u5982\u679c\u4f60\u4f7f\u7528\u4e86\u50cfSwitchyOmega\u8fd9\u6837\u7684\u63d2\u4ef6\uff0c\u8bf7\u4fee\u6539\u60c5\u666f\u6a21\u5f0f\u3002<\/p>\n<p>\u6253\u5f00\u8c37\u6b4c<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u628a1080\u7aef\u53e3\u6362\u621012345\u7aef\u53e3\uff0c\u7b80\u5355\u65b9\u4fbf\u3002 \u5982\u679c\u4f60\u95ee\u4e3a\u4ec0\u4e48\uff0c\u6211\u4f1a\u544a\u8bc9\u4f60\uff0c\u5fae\u8f6f\u7684\u9505\u3002 &#038;nbsp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[46],"_links":{"self":[{"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/posts\/184"}],"collection":[{"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qssjx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=184"}],"version-history":[{"count":3,"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":418,"href":"https:\/\/qssjx.com\/index.php?rest_route=\/wp\/v2\/posts\/184\/revisions\/418"}],"wp:attachment":[{"href":"https:\/\/qssjx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qssjx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qssjx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}