{"id":2828,"date":"2023-03-21T01:23:00","date_gmt":"2023-03-20T17:23:00","guid":{"rendered":"https:\/\/wordpress.cine.idv.tw\/?p=2828"},"modified":"2023-03-21T11:27:11","modified_gmt":"2023-03-21T03:27:11","slug":"public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong","status":"publish","type":"post","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/","title":{"rendered":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u81ea\u5df1\u4e0d\u6b62\u4e00\u6b21\u88ab\u554f\u5230\u9019\u500b\u554f\u984c\u4e86\uff0c\u9019\u554f\u984c\u5e38\u767c\u751f\u5728\u4f7f\u7528\u6d6e\u52d5 IP \u7684\u670b\u53cb\u8eab\u4e0a\uff0c\u672c\u4f86\u597d\u597d\u7684\u53ef\u4ee5\u9023\u4e0a\u81ea\u5df1\u5728\u96f2\u7aef\u5efa\u7acb\u7684 CentOS Linux \u5be6\u4f8b\uff0c\u4e0d\u77e5\u600e\u9ebc\u5730\u5c31\u4e0d\u80fd\u9023\u4e86\uff0c\u641e\u4e0d\u6e05\u695a\u662f\u751a\u9ebc\u539f\u56e0\uff0c\u7576\u7136\u5c31\u7121\u6cd5\u81ea\u52a9\u8655\u7406\uff0c\u5f97\u8981\u5411\u5916\u6c42\u63f4\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u554f\u984c\u63cf\u8ff0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u9019\u4e9b\u670b\u53cb\u672c\u4f86\u53ef\u4ee5\u4f7f\u7528\u81ea\u5efa\u7684 CentOS Linux \u96f2\u7aef\u5be6\u4f8b\uff0c\u53ef\u4ee5\u4f7f\u7528 SSH \u3001 Git \u3001 Redmine \u7b49\u5e38\u898b\u7684\u81ea\u67b6\u670d\u52d9\u3002\u67d0\u5929\u7a81\u7136\u5c31\u767c\u73fe\u9019\u4e9b\u670d\u52d9\u7684\u9023\u63a5\u57e0 22 \u3001 80\/443 \u90fd\u7121\u6cd5\u5b58\u53d6\uff0c\u53ea\u770b\u5230 connection refused \u7684\u8a0a\u606f\uff0c\u4e5f\u4e0d\u77e5\u9053\u5230\u5e95\u751a\u9ebc\u60c5\u6cc1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709\u4e9b\u670b\u53cb\u77e5\u9053\u6709 iptables \u7684\u5b58\u5728\uff0c\u4f46\u662f\u6aa2\u67e5\u4e4b\u5f8c\u4e0d\u662f iptables \u76f8\u95dc\u5de5\u5177\u6839\u672c\u5c31\u6c92\u5b89\u88dd\uff0c\u4e0d\u7136\u5c31\u662f\u6839\u672c\u5c31\u6c92\u555f\u52d5\uff0c\u9019\u4e0b\u5c31\u66f4\u61f7\u7591\u7cfb\u7d71\u906d\u5165\u4fb5\u88ab\u7d81\u67b6\u4e86\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u53ef\u80fd\u7684\u89e3\u6c7a\u65b9\u6848<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u78b0\u5230\u670b\u53cb\u4f86\u554f\u6211\u9019\u554f\u984c\uff0c\u6211\u900f\u904e\u96f2\u7aef\u7684\u7ba1\u7406\u4ecb\u9762\u555f\u52d5 terminal shell \u4e4b\u5f8c\uff0c\u7b2c\u4e00\u500b\u6703\u505a\u7684\u6307\u4ee4\u5c31\u662f\u6aa2\u67e5 FirewallD \u662f\u5426\u6709\u5728\u4f5c\u7528\u4e2d\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>$ sudo firewall-cmd --state<br>running<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6709\u5728\u4f5c\u7528\u4e2d\uff0c\u90a3\u9ebc\u63a5\u4e0b\u4f86\u6211\u6703\u6aa2\u67e5\u6709\u54ea\u4e9b zone \u6b63\u5728\u904b\u884c\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo firewall-cmd &#8211;get-active-zones<br>public<br>    interfaces: eth0<br>trusted<br>    sources: 114.120.113.192\/32<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6709\u770b\u5230\u9019\u500b\u549a\u549a\uff0c\u90a3\u9ebc\u6211\u63a5\u4e0b\u4f86\u5c31\u6703\u554f\u670b\u53cb\u76ee\u524d\u4f7f\u7528\u7684 Public IP \u662f\u591a\u5c11\uff0c\u6709 9 \u6210 99 \u662f\u8ddf 114.120.113.192 \u4e0d\u4e00\u6a23\u7684 IP \u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a5\u4e0b\u4f86\u53ea\u8981\u628a 114.120.113.192 \u63db\u6210\u65b0\u7684 Public IP (\u8b6c\u5982: 125.120.234.29) \u5c31\u53ef\u4ee5\u89e3\u6c7a\u554f\u984c\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>$ sudo firewall-cmd --zone=trusted --remove-source=114.120.113.192\/32<br>success<br>$ sudo firewall-cmd --zone=trusted --add-source=125.120.234.29\/32<br>success<br>$ sudo firewall-cmd --runtime-to-permanent<br>success<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u5f8c\uff0c\u670b\u53cb\u5c31\u6703\u767c\u73fe\u4e16\u754c\u53c8\u6062\u5fa9\u50cf\u4ee5\u524d\u90a3\u6a23\u7f8e\u597d\uff0c\u53ea\u662f\u901a\u5e38\u6211\u9084\u6703\u518d\u628a\u91e3\u7aff\u7d66\u4ed6\u5011\uff0c\u907f\u514d\u4e0b\u6b21\u6211\u53c8\u5f97\u518d\u5e6b\u5fd9\u4e00\u6b21\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u53c3\u8003\u8cc7\u6599<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/linuxize.com\/post\/how-to-configure-and-manage-firewall-on-centos-8\/\">How to Configure and Manage the Firewall on CentOS 8<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5df1\u4e0d\u6b62\u4e00\u6b21\u88ab\u554f\u5230\u9019\u500b\u554f\u984c\u4e86\uff0c\u9019\u554f\u984c\u5e38\u767c\u751f\u5728\u4f7f\u7528\u6d6e\u52d5 IP \u7684\u670b\u53cb\u8eab\u4e0a\uff0c\u672c\u4f86\u597d\u597d\u7684\u53ef\u4ee5\u9023\u4e0a\u81ea\u5df1\u5728\u96f2\u7aef\u5efa\u7acb\u7684 CentOS Linux \u5be6\u4f8b\uff0c\u4e0d\u77e5\u600e\u9ebc\u5730\u5c31\u4e0d\u80fd\u9023\u4e86\uff0c\u641e\u4e0d\u6e05\u695a\u662f\u751a\u9ebc\u539f\u56e0\uff0c\u7576\u7136\u5c31\u7121\u6cd5\u81ea\u52a9\u8655\u7406\uff0c\u5f97\u8981\u5411\u5916\u6c42\u63f4\u3002 \u554f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2829,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[73,226,37,52],"class_list":["post-2828","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it","tag-centos","tag-firewall","tag-linux","tag-networking"],"featured_image_src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","author_info":{"display_name":"shortie","author_link":"https:\/\/wordpress.cine.idv.tw\/index.php\/author\/shortie\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6<\/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:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\" \/>\n<meta property=\"og:description\" content=\"\u81ea\u5df1\u4e0d\u6b62\u4e00\u6b21\u88ab\u554f\u5230\u9019\u500b\u554f\u984c\u4e86\uff0c\u9019\u554f\u984c\u5e38\u767c\u751f\u5728\u4f7f\u7528\u6d6e\u52d5 IP \u7684\u670b\u53cb\u8eab\u4e0a\uff0c\u672c\u4f86\u597d\u597d\u7684\u53ef\u4ee5\u9023\u4e0a\u81ea\u5df1\u5728\u96f2\u7aef\u5efa\u7acb\u7684 CentOS Linux \u5be6\u4f8b\uff0c\u4e0d\u77e5\u600e\u9ebc\u5730\u5c31\u4e0d\u80fd\u9023\u4e86\uff0c\u641e\u4e0d\u6e05\u695a\u662f\u751a\u9ebc\u539f\u56e0\uff0c\u7576\u7136\u5c31\u7121\u6cd5\u81ea\u52a9\u8655\u7406\uff0c\u5f97\u8981\u5411\u5916\u6c42\u63f4\u3002 \u554f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\" \/>\n<meta property=\"og:site_name\" content=\"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-20T17:23:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-21T03:27:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"shortie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"shortie\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\"},\"author\":{\"name\":\"shortie\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"headline\":\"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b?\",\"datePublished\":\"2023-03-20T17:23:00+00:00\",\"dateModified\":\"2023-03-21T03:27:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\"},\"wordCount\":41,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"image\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1\",\"keywords\":[\"CentOS\",\"Firewall\",\"Linux\",\"Networking\"],\"articleSection\":[\"\u8cc7\u8a0a\u79d1\u6280\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\",\"url\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\",\"name\":\"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\",\"isPartOf\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1\",\"datePublished\":\"2023-03-20T17:23:00+00:00\",\"dateModified\":\"2023-03-21T03:27:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/wordpress.cine.idv.tw\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#website\",\"url\":\"https:\/\/wordpress.cine.idv.tw\/\",\"name\":\"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\",\"description\":\"\u656c\u754f\u8036\u548c\u83ef\u662f\u667a\u6167\u7684\u958b\u7aef\uff0c \u8a8d\u8b58\u81f3\u8056\u8005\u4fbf\u662f\u8070\u660e\u3002\u7bb4\u8a00\u4e5d:10\",\"publisher\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wordpress.cine.idv.tw\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f\",\"name\":\"shortie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1\",\"contentUrl\":\"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1\",\"width\":400,\"height\":400,\"caption\":\"shortie\"},\"logo\":{\"@id\":\"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/wordpress.cine.idv.tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","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:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/","og_locale":"zh_TW","og_type":"article","og_title":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","og_description":"\u81ea\u5df1\u4e0d\u6b62\u4e00\u6b21\u88ab\u554f\u5230\u9019\u500b\u554f\u984c\u4e86\uff0c\u9019\u554f\u984c\u5e38\u767c\u751f\u5728\u4f7f\u7528\u6d6e\u52d5 IP \u7684\u670b\u53cb\u8eab\u4e0a\uff0c\u672c\u4f86\u597d\u597d\u7684\u53ef\u4ee5\u9023\u4e0a\u81ea\u5df1\u5728\u96f2\u7aef\u5efa\u7acb\u7684 CentOS Linux \u5be6\u4f8b\uff0c\u4e0d\u77e5\u600e\u9ebc\u5730\u5c31\u4e0d\u80fd\u9023\u4e86\uff0c\u641e\u4e0d\u6e05\u695a\u662f\u751a\u9ebc\u539f\u56e0\uff0c\u7576\u7136\u5c31\u7121\u6cd5\u81ea\u52a9\u8655\u7406\uff0c\u5f97\u8981\u5411\u5916\u6c42\u63f4\u3002 \u554f [&hellip;]","og_url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/","og_site_name":"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","article_published_time":"2023-03-20T17:23:00+00:00","article_modified_time":"2023-03-21T03:27:11+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png","type":"image\/png"}],"author":"shortie","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"shortie","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#article","isPartOf":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/"},"author":{"name":"shortie","@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"headline":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b?","datePublished":"2023-03-20T17:23:00+00:00","dateModified":"2023-03-21T03:27:11+00:00","mainEntityOfPage":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/"},"wordCount":41,"commentCount":0,"publisher":{"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"image":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","keywords":["CentOS","Firewall","Linux","Networking"],"articleSection":["\u8cc7\u8a0a\u79d1\u6280"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/","url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/","name":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b? - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","isPartOf":{"@id":"https:\/\/wordpress.cine.idv.tw\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage"},"image":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","datePublished":"2023-03-20T17:23:00+00:00","dateModified":"2023-03-21T03:27:11+00:00","breadcrumb":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#primaryimage","url":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","contentUrl":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/03\/21\/public-ip-changed-and-can-not-connect-to-centos-linux-whats-wrong\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/wordpress.cine.idv.tw\/"},{"@type":"ListItem","position":2,"name":"\u7db2\u8def Public IP \u4f4d\u5740\u66f4\u52d5\u4e4b\u5f8c\uff0c\u9023\u4e0d\u4e0a CentOS Linux \u6a5f\u5668\u4e86\uff0c\u600e\u9ebc\u56de\u4e8b?"}]},{"@type":"WebSite","@id":"https:\/\/wordpress.cine.idv.tw\/#website","url":"https:\/\/wordpress.cine.idv.tw\/","name":"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","description":"\u656c\u754f\u8036\u548c\u83ef\u662f\u667a\u6167\u7684\u958b\u7aef\uff0c \u8a8d\u8b58\u81f3\u8056\u8005\u4fbf\u662f\u8070\u660e\u3002\u7bb4\u8a00\u4e5d:10","publisher":{"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wordpress.cine.idv.tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":["Person","Organization"],"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f","name":"shortie","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/image\/","url":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1","contentUrl":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1","width":400,"height":400,"caption":"shortie"},"logo":{"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/wordpress.cine.idv.tw"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/03\/256px-CentOS_color_logo.svg_.png?fit=256%2C256&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2GqAF-JC","jetpack-related-posts":[{"id":2177,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2021\/11\/24\/how-to-schedule-synology-nas-reboot-everyday-automatically\/","url_meta":{"origin":2828,"position":0},"title":"\u5982\u4f55\u8a2d\u5b9a\u8b93 Synology NAS \u6bcf\u5929\u91cd\u65b0\u958b\u6a5f\u4e00\u6b21?","author":"shortie","date":"2021-11-24","format":false,"excerpt":"\u7b46\u8005\u8eab\u908a\u6709\u4e0d\u5c11\u670b\u53cb\u4f7f\u7528 Synology NAS\uff0c \u5e73\u6642\u4e0d\u592a\u9700\u8981\u53bb\u7dad\u8b77\u5b83\u3002 \u4f46\u662f\uff0c \u96a8\u8457\u4f7f\u7528\u7684\u6642\u9593\u4e45\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/2021-11-24_11-36-10.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/2021-11-24_11-36-10.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/2021-11-24_11-36-10.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2765,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2023\/02\/03\/unifi-network-application-7-3-76-failure-due-to-jni-error\/","url_meta":{"origin":2828,"position":1},"title":"UniFi Network Application 7.3.76 \u767c\u751f JNI Error\uff0c\u5c0e\u81f4\u7121\u6cd5\u555f\u52d5\uff0c\u53ef\u4ee5\u9019\u9ebc\u505a\uff01","author":"shortie","date":"2023-02-03","format":false,"excerpt":"\u81ea\u5f9e\u5c07 UniFi Network Application \u5347\u7d1a\u81f3 7.2.92 \u4e4b\u5f8c\uff0c\u5df2\u7d93\u6709\u597d\u5e7e\u500b\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2023\/02\/unifi-network-application-7.3.76.png?fit=376%2C400&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2314,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2022\/04\/01\/algorithm-two-number-sum\/","url_meta":{"origin":2828,"position":2},"title":"\u6f14\u7b97\u6cd5: Two Number Sum","author":"shortie","date":"2022-04-01","format":false,"excerpt":"\u524d\u4e9b\u65e5\u5b50\u6709\u500b\u670b\u53cb\u554f\u6211\u4e00\u500b\u554f\u984c\uff0c \u6709\u67d0\u67b6\u98db\u6a5f\u8d77\u98db\u524d\u7684\u91cd\u91cf\uff0c \u8ddd\u96e2\u6700\u5927\u8f09\u91cd\u9084\u6709 150 \u516c\u65a4\uff0c \u5730\u52e4\u4eba\u54e1\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":988,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2020\/06\/03\/aws-rds-mysql-many-connection-errors\/","url_meta":{"origin":2828,"position":3},"title":"AWS RDS MySQL \u56e0\u70ba [HY000][1129] many connection errors \u932f\u8aa4\u5c0e\u81f4\u7121\u6cd5\u9023\u7dda\uff0c\u8a72\u600e\u9ebc\u8fa6?","author":"shortie","date":"2020-06-03","format":false,"excerpt":"\u4e0d\u7ba1\u662f\u56e0\u70ba\u8a2d\u5b9a\u932f\u8aa4\u3001\u7a0b\u5f0f\u932f\u8aa4\u3001\u8cc7\u5b89\u554f\u984c\u7b49\u7a2e\u7a2e\u56e0\u7d20\u6240\u5c0e\u81f4\uff0c\u7121\u6cd5\u9023\u7dda\u5230\u4f7f\u7528\u4e2d\u7684 MySQL \u8cc7\u6599\u5eab\uff0c\u5c0d\u4efb\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/06\/mysql-many-connection-errors-2020-06-04_10-18-40.png?fit=447%2C404&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5176,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2024\/05\/05\/ssm-agent-worker-is-using-100-of-cpu\/","url_meta":{"origin":2828,"position":4},"title":"AWS EC2 \u88ab amazon-ssm-agent \u5403\u6389\u5168\u90e8\u7684 CPU \u8cc7\u6e90\u8a72\u600e\u9ebc\u8fa6","author":"shortie","date":"2024-05-05","format":false,"excerpt":"\u81ea\u5df1\u5e38\u5e38\u88ab\u554f\u5230\uff0c\u5728 AWS \u4e2d\u525b\u525b\u5efa\u7acb\u597d\u7684 EC2 \u5be6\u4f8b\uff0c\u90fd\u9084\u6c92\u6709\u958b\u59cb\u9032\u884c\u61c9\u7528\u7a0b\u5f0f\u958b\u767c\u8207\u90e8\u7f72\u7684\u5de5\u4f5c\uff0c\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1187,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2020\/12\/19\/powerdesigner-jdbc-mysql-could-not-load-class-com-mysql-jdbc-driver\/","url_meta":{"origin":2828,"position":5},"title":"PowerDesigner \u4f7f\u7528 JDBC \u9023\u7dda MySQL \u51fa\u73fe Could not load class com.mysql.jdbc.Driver \u932f\u8aa4\u7684\u89e3\u6c7a\u65b9\u6848","author":"shortie","date":"2020-12-19","format":false,"excerpt":"\u65e9\u5148\u5728 PowerDesigner \u4e2d, \u6b32\u4f7f\u7528 JDBC \u9023\u7dda MySQL \u6642, \u7576\u4e0b\u4e0d\u7ba1\u600e\u9ebc\u8a2d\u5b9a\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-19_02-29-17-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-19_02-29-17-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-19_02-29-17-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-19_02-29-17-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/2828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/comments?post=2828"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/2828\/revisions"}],"predecessor-version":[{"id":2831,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/2828\/revisions\/2831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/media\/2829"}],"wp:attachment":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/media?parent=2828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/categories?post=2828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/tags?post=2828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}