<script type="application/ld+json">{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.simcentric.com/sc/home-update-2026/"},{"@type":"ListItem","position":2,"name":"什么是502 Bad Gateway错误以及如何修复？","item":"https://www.simcentric.com/sc/hong-kong-dedicated-server-sc/what-is-a-502-bad-gateway-error-and-how-to-fix-it/"}]}</script> {"id":16122,"date":"2024-09-13T11:31:43","date_gmt":"2024-09-13T03:31:43","guid":{"rendered":"https:\/\/www.simcentric.com\/uncategorized-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/"},"modified":"2024-09-13T11:35:59","modified_gmt":"2024-09-13T03:35:59","slug":"what-is-a-502-bad-gateway-error-and-how-to-fix-it","status":"publish","type":"post","link":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/","title":{"rendered":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<p>\u4f5c\u4e3a<strong><a href=\"https:\/\/www.simcentric.com\/sc\/products\/dedicated-server-hk\/\" target=\"_blank\" rel=\"noopener\">\u670d\u52a1\u5668\u79df\u7528<\/a><\/strong>\u63d0\u4f9b\u5546\uff0c\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u5ba2\u6237\u5bf9502 Bad Gateway\u9519\u8bef\u548c504 Gateway Timeout\u611f\u5230\u56f0\u60d1\u3002\u867d\u7136\u6211\u4eec\u4e4b\u524d\u5df2\u7ecf\u8ba8\u8bba\u8fc7\u5982\u4f55\u89e3\u51b3<strong><a href=\"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server\/what-to-do-when-a-website-encounters-a-504-gateway-timeout-error\/\" target=\"_blank\" rel=\"noopener\">504 Gateway Timeout\u9519\u8bef<\/a><\/strong>\uff0c\u4f46\u672c\u6587\u5c06\u91cd\u70b9\u89e3\u91ca502 Bad Gateway\u95ee\u9898\uff0c\u5e76\u4e3a\u7f51\u7ad9\u6240\u6709\u8005\u548c\u8bbf\u95ee\u8005\u63d0\u4f9b\u5b9e\u7528\u7684\u89e3\u51b3\u65b9\u6848\u3002\u7406\u89e3\u5e76\u89e3\u51b3502\u9519\u8bef\u5bf9\u4e8e\u4fdd\u6301\u987a\u7545\u7684\u5728\u7ebf\u5b58\u5728\u548c\u786e\u4fdd\u6700\u4f73\u7528\u6237\u4f53\u9a8c\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\uff1f<\/strong><\/h2>\n<p>502 Bad Gateway\u9519\u8bef\u662f\u4e00\u4e2aHTTP\u72b6\u6001\u4ee3\u7801\uff0c\u5f53\u4f5c\u4e3a\u7f51\u5173\u6216\u4ee3\u7406\u7684\u7cfb\u7edf\u4ece\u4e0a\u6e38\u6e90\u63a5\u6536\u5230\u65e0\u6548\u54cd\u5e94\u65f6\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u5b83\u8868\u793a\u7ba1\u7406\u60a8\u7f51\u7ad9\u7684\u4e3b\u673a\u65e0\u6cd5\u4e0e\u6ee1\u8db3\u7528\u6237\u8bf7\u6c42\u6240\u9700\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7ec4\u4ef6\u8fdb\u884c\u6709\u6548\u901a\u4fe1\u3002\u8fd9\u79cd\u901a\u4fe1\u4e2d\u65ad\u5bfc\u81f4\u663e\u793a\u9519\u8bef\u6d88\u606f\uff0c\u800c\u4e0d\u662f\u8bf7\u6c42\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u6839\u636e\u6d4f\u89c8\u5668\u6216\u670d\u52a1\u5668\u914d\u7f6e\u7684\u4e0d\u540c\uff0c\u8fd9\u4e2a\u9519\u8bef\u53ef\u80fd\u4ee5\u5404\u79cd\u65b9\u5f0f\u8868\u73b0\uff1a<\/p>\n<ul>\n<li>&#8220;502 Bad Gateway&#8221;<\/li>\n<li>&#8220;HTTP Error 502 &#8211; Bad Gateway&#8221;<\/li>\n<li>&#8220;502 Proxy Error&#8221;<\/li>\n<li>&#8220;502 Service Temporarily Overloaded&#8221;<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>502 Bad Gateway\u9519\u8bef\u7684\u5e38\u89c1\u539f\u56e0<\/strong><\/h2>\n<p>\u4e86\u89e3502\u9519\u8bef\u7684\u6839\u6e90\u662f\u89e3\u51b3\u5b83\u4eec\u7684\u7b2c\u4e00\u6b65\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u539f\u56e0\uff1a<\/p>\n<ol>\n<li><strong>\u7cfb\u7edf\u8fc7\u8f7d\uff1a<\/strong>\u9ad8\u6d41\u91cf\u53ef\u80fd\u4f1a\u4f7f\u60a8\u7684\u6258\u7ba1\u57fa\u7840\u8bbe\u65bd\u4e0d\u582a\u91cd\u8d1f\uff0c\u5bfc\u81f4\u901a\u4fe1\u4e2d\u65ad\u3002<\/li>\n<li><strong>\u7f51\u7edc\u95ee\u9898\uff1a<\/strong>Web\u57fa\u7840\u8bbe\u65bd\u4e0d\u540c\u7ec4\u4ef6\u4e4b\u95f4\u7684\u8fde\u63a5\u95ee\u9898\u53ef\u80fd\u89e6\u53d1502\u3002<\/li>\n<li><strong>\u9632\u706b\u5899\u914d\u7f6e\uff1a<\/strong>\u8fc7\u4e8e\u4e25\u683c\u7684\u9632\u706b\u5899\u8bbe\u7f6e\u53ef\u80fd\u4f1a\u963b\u6b62\u5408\u6cd5\u7684\u901a\u4fe1\u5c1d\u8bd5\u3002<\/li>\n<li><strong>DNS\u95ee\u9898\uff1a<\/strong>\u4e0d\u6b63\u786e\u7684DNS\u914d\u7f6e\u53ef\u80fd\u5bfc\u81f4\u8def\u7531\u95ee\u9898\u548c502\u3002<\/li>\n<li><strong>\u8f6f\u4ef6\u51b2\u7a81\uff1a<\/strong>\u4e0d\u540c\u8f6f\u4ef6\u7ec4\u4ef6\u4e4b\u95f4\u7684\u4e0d\u517c\u5bb9\u6216\u6700\u8fd1\u7684\u66f4\u65b0\u53ef\u80fd\u5bfc\u81f4\u901a\u4fe1\u5931\u8d25\u3002<\/li>\n<li><strong>\u7f16\u7a0b\u9519\u8bef\uff1a<\/strong>\u7f51\u7ad9\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\uff0c\u7279\u522b\u662fCGI\u811a\u672c\u6216PHP\u4e2d\u7684\u9519\u8bef\uff0c\u53ef\u80fd\u5bfc\u81f4502\u3002<\/li>\n<\/ol>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u5982\u4f55\u4fee\u590d502 Bad Gateway\u9519\u8bef<\/strong><\/h2>\n<p>\u89e3\u51b3502\u9519\u8bef\u901a\u5e38\u9700\u8981\u7cfb\u7edf\u5316\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u60a8\u53ef\u4ee5\u91c7\u53d6\u7684\u6b65\u9aa4\uff1a<\/p>\n<h3>1. \u5bf9\u4e8e\u7f51\u7ad9\u8bbf\u95ee\u8005<\/h3>\n<p>\u5982\u679c\u60a8\u5728\u5c1d\u8bd5\u8bbf\u95ee\u7f51\u7ad9\u65f6\u9047\u5230502\u9519\u8bef\uff1a<\/p>\n<ul>\n<li><strong>\u5237\u65b0\u9875\u9762\uff1a<\/strong>\u6709\u65f6\uff0c\u7b80\u5355\u7684\u5237\u65b0\u5c31\u80fd\u89e3\u51b3\u4e34\u65f6\u7684\u670d\u52a1\u5668\u6545\u969c\u3002<\/li>\n<li><strong>\u6e05\u9664\u6d4f\u89c8\u5668\u7f13\u5b58\uff1a<\/strong>\u8fc7\u65f6\u7684\u7f13\u5b58\u6570\u636e\u6709\u65f6\u4f1a\u5bfc\u81f4502\u3002<\/li>\n<li><strong>\u68c0\u67e5\u5176\u4ed6\u7f51\u7ad9\uff1a<\/strong>\u5982\u679c\u591a\u4e2a\u7f51\u7ad9\u90fd\u65e0\u6cd5\u8bbf\u95ee\uff0c\u95ee\u9898\u53ef\u80fd\u51fa\u5728\u60a8\u7684\u4e92\u8054\u7f51\u8fde\u63a5\u4e0a\u3002<\/li>\n<li><strong>\u5c1d\u8bd5\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\uff1a<\/strong>\u5982\u679c\u9519\u8bef\u5728\u4e00\u4e2a\u6d4f\u89c8\u5668\u4e2d\u6301\u7eed\u5b58\u5728\uff0c\u5c1d\u8bd5\u53e6\u4e00\u4e2a\u6d4f\u89c8\u5668\u4ee5\u6392\u9664\u7279\u5b9a\u6d4f\u89c8\u5668\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u7b49\u5f85\u5e76\u91cd\u8bd5\uff1a<\/strong>\u5982\u679c\u95ee\u9898\u662f\u7531\u4e8e\u670d\u52a1\u5668\u8fc7\u8f7d\u5f15\u8d77\u7684\uff0c\u7b49\u5f85\u51e0\u5206\u949f\u540e\u91cd\u8bd5\u53ef\u80fd\u4f1a\u6709\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n<h3>2. \u5bf9\u4e8e\u7f51\u7ad9\u6240\u6709\u8005<\/h3>\n<p>\u5982\u679c\u60a8\u662f\u7f51\u7ad9\u6240\u6709\u8005\uff0c\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u9047\u5230502\u9519\u8bef\uff1a<\/p>\n<ol>\n<li><strong>\u68c0\u67e5\u7cfb\u7edf\u65e5\u5fd7\uff1a<\/strong>\u5206\u6790\u60a8\u7684\u6258\u7ba1\u65e5\u5fd7\uff0c\u4ee5\u8bc6\u522b\u5bfc\u81f4\u95ee\u9898\u7684\u4efb\u4f55\u7279\u5b9a\u9519\u8bef\u6216\u95ee\u9898\u3002<\/li>\n<li><strong>\u91cd\u542fWeb\u670d\u52a1\uff1a<\/strong>\u7b80\u5355\u5730\u91cd\u542f\u60a8\u7684Web\u6258\u7ba1\u8f6f\u4ef6\uff08\u5982Apache\u3001Nginx\uff09\u901a\u5e38\u53ef\u4ee5\u89e3\u51b3502\u3002<\/li>\n<li><strong>\u5ba1\u67e5\u6700\u8fd1\u7684\u66f4\u6539\uff1a<\/strong>\u5982\u679c\u60a8\u6700\u8fd1\u66f4\u65b0\u4e86\u7f51\u7ad9\u6216\u7cfb\u7edf\u914d\u7f6e\uff0c\u8bf7\u68c0\u67e5\u8fd9\u4e9b\u66f4\u6539\u662f\u5426\u5b58\u5728\u6f5c\u5728\u95ee\u9898\u3002<\/li>\n<li><strong>\u76d1\u63a7\u8d44\u6e90\u4f7f\u7528\uff1a<\/strong>\u786e\u4fdd\u60a8\u7684\u6258\u7ba1\u73af\u5883\u6ca1\u6709\u88ab\u6d41\u91cf\u6216\u8d44\u6e90\u5bc6\u96c6\u578b\u8fdb\u7a0b\u538b\u57ae\u3002<\/li>\n<li><strong>\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\uff1a<\/strong>\u9a8c\u8bc1\u60a8\u7684\u9632\u706b\u5899\u6ca1\u6709\u963b\u6b62\u5fc5\u8981\u7684\u901a\u4fe1\u3002<\/li>\n<li><strong>\u66f4\u65b0\u8f6f\u4ef6\uff1a<\/strong>\u786e\u4fdd\u6240\u6709\u6258\u7ba1\u8f6f\u4ef6\u548c\u5e94\u7528\u7a0b\u5e8f\u90fd\u662f\u6700\u65b0\u7684\u3002<\/li>\n<li><strong>\u68c0\u67e5DNS\u914d\u7f6e\uff1a<\/strong>\u9a8c\u8bc1\u60a8\u7684DNS\u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u5e76\u5df2\u4f20\u64ad\u3002<\/li>\n<\/ol>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u9488\u5bf9\u6301\u7eed502\u9519\u8bef\u7684\u9ad8\u7ea7\u6545\u969c\u6392\u9664<\/strong><\/h2>\n<p>\u5982\u679c\u4e0a\u8ff0\u6b65\u9aa4\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u8bf7\u8003\u8651\u4ee5\u4e0b\u66f4\u9ad8\u7ea7\u7684\u6545\u969c\u6392\u9664\u65b9\u6cd5\uff1a<\/p>\n<h3>1. \u5206\u6790\u670d\u52a1\u5668\u901a\u4fe1<\/h3>\n<p>\u4f7f\u7528tcpdump\u6216Wireshark\u7b49\u5de5\u5177\u5206\u6790\u7f51\u7edc\u6d41\u91cf\uff0c\u8bc6\u522b\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u4e2d\u65ad\u3002<\/p>\n<h3>2. \u5ba1\u67e5\u8d1f\u8f7d\u5747\u8861\u5668\u914d\u7f6e<\/h3>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u8d1f\u8f7d\u5747\u8861\u5668\uff0c\u8bf7\u786e\u4fdd\u5b83\u914d\u7f6e\u6b63\u786e\uff0c\u4e0d\u4f1a\u9020\u6210\u901a\u4fe1\u95ee\u9898\u3002<\/p>\n<h3>3. \u68c0\u67e5\u4ee3\u7801\u9519\u8bef<\/h3>\n<p>\u5ba1\u67e5\u60a8\u7f51\u7ad9\u7684\u4ee3\u7801\uff0c\u7279\u522b\u662f\u670d\u52a1\u5668\u7aef\u811a\u672c\uff0c\u67e5\u627e\u53ef\u80fd\u5bfc\u81f4\u8d85\u65f6\u6216\u5176\u4ed6\u95ee\u9898\u7684\u9519\u8bef\u3002<\/p>\n<h3>4. \u8c03\u6574\u8d85\u65f6\u8bbe\u7f6e<\/h3>\n<p>\u5728\u670d\u52a1\u5668\u914d\u7f6e\u4e2d\u589e\u52a0\u8d85\u65f6\u9650\u5236\uff0c\u4e3a\u8bf7\u6c42\u5904\u7406\u7559\u51fa\u66f4\u591a\u65f6\u95f4\u3002<\/p>\n<h3>5. \u54a8\u8be2\u60a8\u7684\u670d\u52a1\u5668\u79df\u7528\u63d0\u4f9b\u5546<\/h3>\n<p>\u5982\u679c\u95ee\u9898\u4ecd\u7136\u5b58\u5728\uff0c\u8bf7\u8054\u7cfb\u60a8\u7684\u670d\u52a1\u5668\u79df\u7528\u63d0\u4f9b\u5546\u7684\u652f\u6301\u56e2\u961f\u3002\u4ed6\u4eec\u53ef\u4ee5\u63d0\u4f9b\u6709\u5173\u670d\u52a1\u5668\u7279\u5b9a\u95ee\u9898\u548c\u6f5c\u5728\u89e3\u51b3\u65b9\u6848\u7684\u89c1\u89e3\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u9884\u9632\u672a\u6765\u7684502 Bad Gateway\u9519\u8bef<\/strong><\/h2>\n<p>\u4e3a\u4e86\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u672a\u6765502\u9519\u8bef\u7684\u53d1\u751f\uff0c\u8bf7\u8003\u8651\u5b9e\u65bd\u4ee5\u4e0b\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n<ul>\n<li><strong>\u5b9a\u671f\u7ef4\u62a4\uff1a<\/strong>\u4fdd\u6301\u670d\u52a1\u5668\u8f6f\u4ef6\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u66f4\u65b0\u3002<\/li>\n<li><strong>\u76d1\u63a7\uff1a<\/strong>\u5b9e\u65bd\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177\u4ee5\u53ca\u65e9\u53d1\u73b0\u95ee\u9898\u3002<\/li>\n<li><strong>\u8d1f\u8f7d\u6d4b\u8bd5\uff1a<\/strong>\u5b9a\u671f\u8fdb\u884c\u8d1f\u8f7d\u6d4b\u8bd5\uff0c\u786e\u4fdd\u60a8\u7684\u670d\u52a1\u5668\u80fd\u591f\u5904\u7406\u9884\u671f\u7684\u6d41\u91cf\u3002<\/li>\n<li><strong>\u5185\u5bb9\u5206\u53d1\u7f51\u7edc\uff08CDN\uff09\uff1a<\/strong>\u4f7f\u7528CDN\u5206\u6563\u6d41\u91cf\u5e76\u51cf\u5c11\u670d\u52a1\u5668\u8d1f\u8f7d\u3002<\/li>\n<li><strong>\u4f18\u5316\u4ee3\u7801\uff1a<\/strong>\u5b9a\u671f\u5ba1\u67e5\u548c\u4f18\u5316\u60a8\u7f51\u7ad9\u7684\u4ee3\u7801\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/li>\n<li><strong>\u5907\u4efd\u548c\u6062\u590d\u8ba1\u5212\uff1a<\/strong>\u7ef4\u62a4\u5b9a\u671f\u5907\u4efd\uff0c\u5e76\u5236\u5b9a\u6062\u590d\u8ba1\u5212\uff0c\u4ee5\u4fbf\u5feb\u901f\u89e3\u51b3\u670d\u52a1\u5668\u95ee\u9898\u3002<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u4f55\u65f6\u5bfb\u6c42\u4e13\u4e1a\u5e2e\u52a9<\/strong><\/h2>\n<p>\u867d\u7136\u8bb8\u591a502\u9519\u8bef\u53ef\u4ee5\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\u89e3\u51b3\uff0c\u4f46\u67d0\u4e9b\u60c5\u51b5\u53ef\u80fd\u9700\u8981\u4e13\u4e1a\u534f\u52a9\uff1a<\/p>\n<ul>\n<li>\u5bf9\u5e38\u89c1\u6545\u969c\u6392\u9664\u65b9\u6cd5\u65e0\u54cd\u5e94\u7684\u6301\u7eed\u9519\u8bef<\/li>\n<li>\u590d\u6742\u7684\u670d\u52a1\u5668\u914d\u7f6e\u6216\u81ea\u5b9a\u4e49\u8bbe\u7f6e<\/li>\n<li>\u9ad8\u6d41\u91cf\u7684\u5927\u578b\u7f51\u7ad9<\/li>\n<li>\u505c\u673a\u65f6\u95f4\u4e25\u91cd\u5f71\u54cd\u4e1a\u52a1\u8fd0\u8425\u7684\u60c5\u51b5<\/li>\n<\/ul>\n<p>\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\uff0c\u54a8\u8be2IT\u4e13\u4e1a\u4eba\u58eb\u6216\u60a8\u7684\u670d\u52a1\u5668\u79df\u7528\u63d0\u4f9b\u5546\u7684\u652f\u6301\u56e2\u961f\u53ef\u4ee5\u63d0\u4f9b\u66f4\u6709\u9488\u5bf9\u6027\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u505c\u673a\u65f6\u95f4\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u7ed3\u8bba\uff1a\u638c\u63e1502 Bad Gateway\u6311\u6218<\/strong><\/h2>\n<p>502 Bad Gateway\u9519\u8bef\u867d\u7136\u4ee4\u4eba\u6cae\u4e27\uff0c\u4f46\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u6b63\u786e\u7684\u65b9\u6cd5\u89e3\u51b3\u3002\u901a\u8fc7\u7406\u89e3\u539f\u56e0\u5e76\u5b9e\u65bd\u672c\u6307\u5357\u4e2d\u6982\u8ff0\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff0c\u5e76\u4fdd\u6301\u5f3a\u5927\u7684\u5728\u7ebf\u5b58\u5728\u3002\u8bf7\u8bb0\u4f4f\uff0c\u53ca\u65f6\u884c\u52a8\u548c\u5b9a\u671f\u7ef4\u62a4\u662f\u9884\u9632\u548c\u89e3\u51b3\u670d\u52a1\u5668\u9519\u8bef\u7684\u5173\u952e\u3002\u4f5c\u4e3a\u60a8\u4fe1\u8d56\u7684<strong>\u670d\u52a1\u5668\u79df\u7528<\/strong>\u5408\u4f5c\u4f19\u4f34\uff0c\u6211\u4eec\u59cb\u7ec8\u5728\u8fd9\u91cc\u652f\u6301\u60a8\uff0c\u786e\u4fdd\u60a8\u7684\u7f51\u7ad9\u4fdd\u6301\u53ef\u8bbf\u95ee\u5e76\u4ee5\u6700\u4f73\u72b6\u6001\u8fd0\u884c\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u4f5c\u4e3a\u670d\u52a1\u5668\u79df\u7528\u63d0\u4f9b\u5546\uff0c\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u5ba2\u6237\u5bf9502 Bad Gateway\u9519\u8bef\u548c504 Gateway Timeout\u611f\u5230\u56f0\u60d1\u3002\u867d\u7136\u6211\u4eec\u4e4b\u524d\u5df2\u7ecf\u8ba8\u8bba\u8fc7\u5982\u4f55\u89e3\u51b3504 Gateway Timeout\u9519\u8bef\uff0c\u4f46\u672c\u6587\u5c06\u91cd\u70b9\u89e3\u91ca502 Bad Gateway\u95ee\u9898\uff0c\u5e76\u4e3a\u7f51\u7ad9\u6240\u6709\u8005\u548c\u8bbf\u95ee\u8005\u63d0\u4f9b\u5b9e\u7528\u7684\u89e3\u51b3\u65b9\u6848\u3002\u7406\u89e3\u5e76\u89e3\u51b3502\u9519\u8bef\u5bf9\u4e8e\u4fdd\u6301\u987a\u7545\u7684\u5728\u7ebf\u5b58\u5728\u548c\u786e\u4fdd\u6700\u4f73\u7528\u6237\u4f53\u9a8c\u81f3\u5173\u91cd\u8981\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\uff1f 502 Bad Gateway\u9519\u8bef\u662f\u4e00\u4e2aHTTP\u72b6\u6001\u4ee3\u7801\uff0c\u5f53\u4f5c\u4e3a\u7f51\u5173\u6216\u4ee3\u7406\u7684\u7cfb\u7edf\u4ece\u4e0a\u6e38\u6e90\u63a5\u6536\u5230\u65e0\u6548\u54cd\u5e94\u65f6\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u5b83\u8868\u793a\u7ba1\u7406\u60a8\u7f51\u7ad9\u7684\u4e3b\u673a\u65e0\u6cd5\u4e0e\u6ee1\u8db3\u7528\u6237\u8bf7\u6c42\u6240\u9700\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7ec4\u4ef6\u8fdb\u884c\u6709\u6548\u901a\u4fe1\u3002\u8fd9\u79cd\u901a\u4fe1\u4e2d\u65ad\u5bfc\u81f4\u663e\u793a\u9519\u8bef\u6d88\u606f\uff0c\u800c\u4e0d\u662f\u8bf7\u6c42\u7684\u5185\u5bb9\u3002 \u6839\u636e\u6d4f\u89c8\u5668\u6216\u670d\u52a1\u5668\u914d\u7f6e\u7684\u4e0d\u540c\uff0c\u8fd9\u4e2a\u9519\u8bef\u53ef\u80fd\u4ee5\u5404\u79cd\u65b9\u5f0f\u8868\u73b0\uff1a &#8220;502 Bad Gateway&#8221; &#8220;HTTP Error 502 &#8211; Bad Gateway&#8221; &#8220;502 Proxy Error&#8221; &#8220;502 Service Temporarily Overloaded&#8221; [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] 502 Bad Gateway\u9519\u8bef\u7684\u5e38\u89c1\u539f\u56e0 \u4e86\u89e3502\u9519\u8bef\u7684\u6839\u6e90\u662f\u89e3\u51b3\u5b83\u4eec\u7684\u7b2c\u4e00\u6b65\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u539f\u56e0\uff1a \u7cfb\u7edf\u8fc7\u8f7d\uff1a\u9ad8\u6d41\u91cf\u53ef\u80fd\u4f1a\u4f7f\u60a8\u7684\u6258\u7ba1\u57fa\u7840\u8bbe\u65bd\u4e0d\u582a\u91cd\u8d1f\uff0c\u5bfc\u81f4\u901a\u4fe1\u4e2d\u65ad\u3002 \u7f51\u7edc\u95ee\u9898\uff1aWeb\u57fa\u7840\u8bbe\u65bd\u4e0d\u540c\u7ec4\u4ef6\u4e4b\u95f4\u7684\u8fde\u63a5\u95ee\u9898\u53ef\u80fd\u89e6\u53d1502\u3002 \u9632\u706b\u5899\u914d\u7f6e\uff1a\u8fc7\u4e8e\u4e25\u683c\u7684\u9632\u706b\u5899\u8bbe\u7f6e\u53ef\u80fd\u4f1a\u963b\u6b62\u5408\u6cd5\u7684\u901a\u4fe1\u5c1d\u8bd5\u3002 DNS\u95ee\u9898\uff1a\u4e0d\u6b63\u786e\u7684DNS\u914d\u7f6e\u53ef\u80fd\u5bfc\u81f4\u8def\u7531\u95ee\u9898\u548c502\u3002 \u8f6f\u4ef6\u51b2\u7a81\uff1a\u4e0d\u540c\u8f6f\u4ef6\u7ec4\u4ef6\u4e4b\u95f4\u7684\u4e0d\u517c\u5bb9\u6216\u6700\u8fd1\u7684\u66f4\u65b0\u53ef\u80fd\u5bfc\u81f4\u901a\u4fe1\u5931\u8d25\u3002 \u7f16\u7a0b\u9519\u8bef\uff1a\u7f51\u7ad9\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\uff0c\u7279\u522b\u662fCGI\u811a\u672c\u6216PHP\u4e2d\u7684\u9519\u8bef\uff0c\u53ef\u80fd\u5bfc\u81f4502\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u5982\u4f55\u4fee\u590d502 Bad Gateway\u9519\u8bef \u89e3\u51b3502\u9519\u8bef\u901a\u5e38\u9700\u8981\u7cfb\u7edf\u5316\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u60a8\u53ef\u4ee5\u91c7\u53d6\u7684\u6b65\u9aa4\uff1a 1. [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":16118,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[62],"tags":[3633,2789,353],"class_list":["post-16122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hong-kong-dedicated-server-sc","tag-error-fix-sc","tag-502-bad-gateway-sc","tag-server-rental-sc"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f<\/title>\n<meta name=\"description\" content=\"\u4e86\u89e3502 Bad Gateway\u9519\u8bef\u7684\u542b\u4e49\u53ca\u5982\u4f55\u4fee\u590d\u3002\u6211\u4eec\u7684\u6307\u5357\u4e3a\u9047\u5230\u6b64\u95ee\u9898\u7684\u7f51\u7ad9\u6240\u6709\u8005\u548c\u8bbf\u95ee\u8005\u63d0\u4f9b\u5b9e\u7528\u89e3\u51b3\u65b9\u6848\u3002\" \/>\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.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"company\" \/>\n<meta property=\"og:title\" content=\"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122\" \/>\n<meta property=\"og:site_name\" content=\"\u65b0\u5929\u57df\u4e92\u8054\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-13T03:31:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-13T03:35:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"614\" \/>\n\t<meta property=\"og:image:height\" content=\"340\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f","description":"\u4e86\u89e3502 Bad Gateway\u9519\u8bef\u7684\u542b\u4e49\u53ca\u5982\u4f55\u4fee\u590d\u3002\u6211\u4eec\u7684\u6307\u5357\u4e3a\u9047\u5230\u6b64\u95ee\u9898\u7684\u7f51\u7ad9\u6240\u6709\u8005\u548c\u8bbf\u95ee\u8005\u63d0\u4f9b\u5b9e\u7528\u89e3\u51b3\u65b9\u6848\u3002","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.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122","og_locale":"zh_CN","og_type":"company","og_title":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f","og_url":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122","og_site_name":"\u65b0\u5929\u57df\u4e92\u8054","article_published_time":"2024-09-13T03:31:43+00:00","article_modified_time":"2024-09-13T03:35:59+00:00","og_image":[{"width":614,"height":340,"url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg","type":"image\/jpeg"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#article","isPartOf":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/"},"author":{"name":"Debbie Ng","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/0bfc8768eb7caacbfab4a0855d805626"},"headline":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f","datePublished":"2024-09-13T03:31:43+00:00","dateModified":"2024-09-13T03:35:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/"},"wordCount":189,"publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"image":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg","keywords":["\u9519\u8bef\u4fee\u590d","502 bad gateway","\u670d\u52a1\u5668\u79df\u7528"],"articleSection":["\u9999\u6e2f\u670d\u52a1\u5668"],"inLanguage":"zh-CHN"},{"@type":"WebPage","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/","url":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/","name":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f","isPartOf":{"@id":"https:\/\/simcentric.com\/tc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#primaryimage"},"image":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg","datePublished":"2024-09-13T03:31:43+00:00","dateModified":"2024-09-13T03:35:59+00:00","description":"\u4e86\u89e3502 Bad Gateway\u9519\u8bef\u7684\u542b\u4e49\u53ca\u5982\u4f55\u4fee\u590d\u3002\u6211\u4eec\u7684\u6307\u5357\u4e3a\u9047\u5230\u6b64\u95ee\u9898\u7684\u7f51\u7ad9\u6240\u6709\u8005\u548c\u8bbf\u95ee\u8005\u63d0\u4f9b\u5b9e\u7528\u89e3\u51b3\u65b9\u6848\u3002","breadcrumb":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#breadcrumb"},"inLanguage":"zh-CHN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#primaryimage","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/09\/sim-blog-2024-09-13B.jpg","width":614,"height":340,"caption":"\u7406\u89e3502 Bad Gateway\u9519\u8bef"},{"@type":"BreadcrumbList","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/what-is-a-502-bad-gateway-error-and-how-to-fix-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simcentric.com\/sc\/home-update-2026\/"},{"@type":"ListItem","position":2,"name":"\u4ec0\u4e48\u662f502 Bad Gateway\u9519\u8bef\u4ee5\u53ca\u5982\u4f55\u4fee\u590d\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/simcentric.com\/tc\/#website","url":"https:\/\/simcentric.com\/tc\/","name":"Simcentric Solutions","description":"","publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simcentric.com\/tc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CHN"},{"@type":"Organization","@id":"https:\/\/simcentric.com\/tc\/#organization","name":"Simcentric Solutions","url":"https:\/\/simcentric.com\/tc\/","logo":{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","width":800,"height":222,"caption":"Simcentric Solutions"},"image":{"@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/0bfc8768eb7caacbfab4a0855d805626","name":"Debbie Ng","image":{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","caption":"Debbie Ng"}}]}},"_links":{"self":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/comments?post=16122"}],"version-history":[{"count":2,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122\/revisions"}],"predecessor-version":[{"id":16130,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/16122\/revisions\/16130"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/media\/16118"}],"wp:attachment":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/media?parent=16122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/categories?post=16122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/tags?post=16122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}