{"id":1109,"date":"2026-04-01T11:15:48","date_gmt":"2026-04-01T03:15:48","guid":{"rendered":"http:\/\/www.bracku.com\/?p=1109"},"modified":"2026-04-01T11:25:46","modified_gmt":"2026-04-01T03:25:46","slug":"%e5%ae%89%e8%a3%85redis%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a1%b9%e5%b9%b6%e8%a7%a3%e5%86%b3redis-%e6%8a%a5%e9%94%99%ef%bc%9aerror-noauth-authentication-required","status":"publish","type":"post","link":"http:\/\/www.bracku.com\/?p=1109","title":{"rendered":"\u5b89\u88c5Redis\u6ce8\u610f\u4e8b\u9879\u5e76\u89e3\u51b3Redis \u62a5\u9519\uff1a`(error) NOAUTH Authentication required`"},"content":{"rendered":"\n<p>\u7531\u4e8e\u672c\u4eba\u5728\u793e\u533a\u6ca1\u6709\u770b\u5230\u5173\u4e8e\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u6587\u7ae0\uff0c\u4e8e\u662f\u4e4e\u505a\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff1a<\/p>\n\n\n\n<p>bracku\u505a\u4e86\u4e00\u4ef6\u4e0d\u597d\u7684\u4e8b\uff0c\u7531\u4e8ebracku\u60f3\u5b66redis\uff0c\u4e8e\u662f\u4e4e\u8bbf\u95eeRedis\u5b98\u7f51\u4e0b\u8f7d\u4e86\u4e00\u4e2a\u504f\u65b0\u7248\u672c\u7684Redis\uff0c\u7136\u540ebracku\u770b\u4e86\u522b\u4eba\u7684\u6559\u7a0b\uff0c\u53d1\u73b0\u4e0d\u9700\u8981\u4f7f\u7528\u8fd9\u4e48\u65b0\u7684\u7248\u672c\uff0c\u4e8e\u662f\u4e4e\uff0cbracku\u76f4\u63a5\u628a\u6574\u4e2a\u76ee\u5f55\u76f4\u63a5\u5220\u4e86\uff0c\u5bfc\u81f4\u540e\u53f0\u7684Redis.serve\u8fdb\u7a0b\u5e76\u6ca1\u7ed3\u675f\uff0credis.cli\u670d\u52a1\u4e00\u76f4\u7528\u7684\u662f\u4e4b\u524d\u7684conf\u6587\u4ef6\uff0c\u82b1\u4e86\u4e00\u4e2a\u4e0a\u5348\u7684\u65f6\u95f4\uff0c\u7ec8\u4e8e\u628a\u8fd9\u4e2a\u95ee\u9898\u89e3\u51b3\u4e86\u3002<\/p>\n\n\n\n<p>\u5b89\u88c5\u5b98\u7f51\uff1a<a href=\"https:\/\/github.com\/microsoftarchive\/redis\/releases\">https:\/\/github.com\/microsoftarchive\/redis\/releases<\/a><\/p>\n\n\n\n<p>\u6253\u4e0d\u5f00\u7528\u52a0\u901f\u5668\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"135\" height=\"109\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-6.png\" alt=\"\" class=\"wp-image-1117\" style=\"width:124px;height:auto\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7-1024x649.png\" alt=\"\" class=\"wp-image-1120\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7-1024x649.png 1024w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7-300x190.png 300w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7-768x487.png 768w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7-1536x974.png 1536w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-7.png 1717w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4e0b\u8f7d\u8fd9\u4e2a\u7248\u672c<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"52\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-8-1024x52.png\" alt=\"\" class=\"wp-image-1121\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-8-1024x52.png 1024w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-8-300x15.png 300w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-8-768x39.png 768w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-8.png 1086w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u89e3\u538b\u5230\u968f\u4fbf\u54ea\u4e2a\u76d8\uff0c\u6700\u597d\u4e0d\u662fC\u76d8<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9-1024x641.png\" alt=\"\" class=\"wp-image-1123\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9-1024x641.png 1024w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9-300x188.png 300w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9-768x480.png 768w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9-1536x961.png 1536w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-9.png 1693w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u5c31\u8fd9\u4e09\u4e2a\u6587\u4ef6\u9700\u8981\u6ce8\u610f\uff0c\u5176\u4ed6\u7684\u6ca1\u7528\u5230<\/p>\n\n\n\n<p>\uff08\u6ce8\u610f\uff1a\u8fd0\u884credis-serve.exe\u7684\u65f6\u5019redis-cli.exe\u540c\u65f6\u8fd0\u884c\uff0c\u70b9\u5f00redis-cli.exe\u4e0d\u8981\u5173\u95edredis-serve.exe\uff0credis.windows.conf\u662f\u7528\u6765\u67e5\u770b\u5bc6\u7801\u7684\uff09<\/p>\n\n\n\n<p>\u90a3\u4e48\u6211\u4eec\u6765\u770b\u4e00\u4e0bbracku\u662f\u600e\u4e48\u89e3\u51b3\u95ee\u9898\u7684\u5427\uff0c\u9996\u5148\u662f\u9047\u5230\u4e86\u8f93\u5165<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"411\" height=\"43\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image.png\" alt=\"\" class=\"wp-image-1110\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image.png 411w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-300x31.png 300w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/figure>\n\n\n\n<p>ping\u4e0d\u901a\u63d0\u793a\uff1a(error) NOAUTH Authentication required.<\/p>\n\n\n\n<p>\u539f\u56e0\u662f\u7531\u4e8e\u6211\u4e00\u76f4\u53cd\u590d\u5220\u9664\u672c\u76ee\u5f55\u7684\u6587\u4ef6\u5bfc\u81f4\u7684\uff0c\u4e00\u5f00\u59cb\u542f\u52a8\u7684\u65f6\u5019\u4f7f\u7528\u7684\u662f\u9ad8\u7248\u672c\u7684conf\u6587\u4ef6\uff0c\u5bfc\u81f4\u4efb\u52a1\u7ba1\u7406\u5668\u7684\u8fdb\u7a0b\u4e00\u76f4\u5728\u8fd0\u884c\uff0c\u7528\u7ba1\u7406\u5458\u6743\u9650\u4e5f\u5173\u4e0d\u6389<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u539f\u56e0\u662f\u56e0\u4e3a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"243\" height=\"38\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-1.png\" alt=\"\" class=\"wp-image-1111\"\/><\/figure>\n\n\n\n<p>\u6587\u4ef6\u91cc\u53ef\u80fd\u5173\u4e8e<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"41\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-3.png\" alt=\"\" class=\"wp-image-1113\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-3.png 412w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-3-300x30.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\n\n\n\n<p>\u7684\u8fd9\u4e2a\u90e8\u5206\u6ca1\u88ab\u6ce8\u91ca\u6389\uff0c\u6211\u4eec\u5148\u786e\u4fdd\u8fd9\u4e2a\u6ce8\u91ca\u6389\u4e86\uff0c\u4e4b\u540e\u5982\u679c\u8fd8\u63d0\u793a(error) NOAUTH Authentication required.\u7684\u8bdd\uff0c\u90a3\u4e48\u5c31\u662f\u6211\u73b0\u5728\u9047\u5230\u7684\u95ee\u9898\u4e86<\/p>\n\n\n\n<p>\u4f60\u5148\u53bbcmd\u547d\u4ee4\u884c\uff0cWindows\u641c\u7d22cmd\uff0c\u9009\u62e9\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u7684\u9009\u9879\uff0c\u8f93\u5165<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>netstat -ano | findstr 6379<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b 6379 \u7aef\u53e3\u662f\u5426\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u7528<\/p>\n\n\n\n<p>\u5982\u679c\u6709\u7ed3\u679c\uff0c\u8bb0\u4e0b\u6700\u540e\u4e00\u5217\u7684 PID\uff0c\u7136\u540e\u7528\u7ba1\u7406\u5458\u6743\u9650\u7ed3\u675f\u8be5\u8fdb\u7a0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>taskkill \/F \/PID &lt;PID><\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4f60\u518d\u6b21\u67e5\u770b\u6ca1\u6709\u88ab\u7ed3\u675f\u6389\uff0c\u90a3\u4e48\u5c31\u5f3a\u5236\u7ed3\u675f\uff0c\u4ee5<strong>\u7ba1\u7406\u5458\u8eab\u4efd<\/strong>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u6267\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>taskkill \/F \/IM redis-server.exe<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u63d0\u793a\u201c\u627e\u4e0d\u5230\u8fdb\u7a0b\u201d\uff0c\u5219\u8bf4\u660e\u6ca1\u6709\u8fd0\u884c\u4e2d\u7684 Redis\u3002<br>\u5982\u679c\u4ecd\u65e0\u6cd5\u7ed3\u675f\uff0c\u5c1d\u8bd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wmic process where name=\"redis-server.exe\" delete<\/code><\/pre>\n\n\n\n<p>\u68c0\u67e5\u5e76\u505c\u6b62 Redis \u670d\u52a1\uff08\u5982\u679c\u6709\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sc query | findstr \/i redis<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u770b\u5230\u670d\u52a1\u540d\uff08\u5982\u00a0<code>Redis<\/code>\u00a0\u6216\u00a0<code>Redis_Server<\/code>\uff09\uff0c\u505c\u6b62\u5b83\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>net stop Redis<\/code><\/pre>\n\n\n\n<p>\uff08\u5c06\u00a0<code>Redis<\/code>\u00a0\u66ff\u6362\u4e3a\u5b9e\u9645\u670d\u52a1\u540d\uff09<\/p>\n\n\n\n<p><strong>\u91cd\u65b0\u542f\u52a8 Redis<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>redis-server.exe redis.windows.conf<\/code><\/pre>\n\n\n\n<p>\u6b64\u65f6\u5e94\u8be5\u770b\u5230\u7c7b\u4f3c\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;xxxx] 01 Apr xx:xx:xx.xxx # Server started, Redis version ...\n&#91;xxxx] 01 Apr xx:xx:xx.xxx * DB loaded from disk: ...\n&#91;xxxx] 01 Apr xx:xx:xx.xxx * The server is now ready to accept connections on port 6379<\/code><\/pre>\n\n\n\n<p><strong>\u6ce8\u610f<\/strong>\uff1a<code>bind: No error<\/code>\u00a0\u662f\u6b63\u5e38\u7684\uff0c\u4e0d\u662f\u9519\u8bef\u3002<\/p>\n\n\n\n<p>\u6253\u5f00\u53e6\u4e00\u4e2a\u547d\u4ee4\u63d0\u793a\u7b26\uff08\u666e\u901a\u6743\u9650\u5373\u53ef\uff09\uff0c\u6d4b\u8bd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>redis-cli ping<\/code><\/pre>\n\n\n\n<p>\u6548\u679c\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"549\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4-1024x549.png\" alt=\"\" class=\"wp-image-1114\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4-1024x549.png 1024w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4-300x161.png 300w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4-768x412.png 768w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4-1536x824.png 1536w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-4.png 1732w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5-1024x547.png\" alt=\"\" class=\"wp-image-1115\" srcset=\"http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5-1024x547.png 1024w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5-300x160.png 300w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5-768x410.png 768w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5-1536x821.png 1536w, http:\/\/www.bracku.com\/wp-content\/uploads\/2026\/04\/image-5.png 1735w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u5982\u679c\u95ee\u9898\u8fd8\u662f\u6ca1\u89e3\u51b3\uff0c\u53ef\u4ee5\u79c1\u4fe1\u6211\uff0c\u6211\u770b\u5230\u4f1a\u56de\u590d\u4f60\u7684\uff0c\u5982\u679c\u4f60\u662f\u5728blog\u91cc\u56de\u590d\u6211\u4e5f\u4f1a\u7ecf\u5e38\u770b\u7684<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8e\u672c\u4eba\u5728\u793e\u533a\u6ca1\u6709\u770b\u5230\u5173\u4e8e\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u6587\u7ae0\uff0c\u4e8e\u662f\u4e4e\u505a\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff1a bracku\u505a\u4e86\u4e00\u4ef6\u4e0d\u597d\u7684\u4e8b\uff0c\u7531\u4e8ebrac [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-recommend"],"_links":{"self":[{"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bracku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1109"}],"version-history":[{"count":7,"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1118,"href":"http:\/\/www.bracku.com\/index.php?rest_route=\/wp\/v2\/posts\/1109\/revisions\/1118"}],"wp:attachment":[{"href":"http:\/\/www.bracku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bracku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bracku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}