{"id":4854,"date":"2024-02-15T11:05:23","date_gmt":"2024-02-15T08:05:23","guid":{"rendered":"https:\/\/blog.inetmar.com\/?p=4854"},"modified":"2024-07-27T16:24:41","modified_gmt":"2024-07-27T13:24:41","slug":"php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known-hatasi-cozumu","status":"publish","type":"post","link":"https:\/\/www.inetmar.com\/blog\/php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known-hatasi-cozumu\/","title":{"rendered":"php_network_getaddresses: getaddrinfo failed: Name or service not known Hatas\u0131 \u00c7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>&#8220;php_network_getaddresses: getaddrinfo failed: Name or service not known&#8221;<\/strong> hatas\u0131, genellikle bir a\u011f adresini \u00e7\u00f6zme sorunundan kaynaklan\u0131r.<\/p>\n<h3>Hatan\u0131n Nedeni<\/h3>\n<p>Bu hata genellikle a\u015fa\u011f\u0131daki nedenle ili\u015fkilidir:<\/p>\n<p><strong>Yanl\u0131\u015f URL veya Host Ad\u0131<\/strong>: Kodunuzda yanl\u0131\u015f bir URL veya host ad\u0131 kullan\u0131lm\u0131\u015f olabilir. Bu, sunucunun belirtilen ad\u0131 \u00e7\u00f6zemedi\u011finde bu hatay\u0131 tetikleyebilir.<\/p>\n<h3>Hatan\u0131n \u00c7\u00f6z\u00fcm\u00fc<\/h3>\n<p>&#8220;$servername = &#8220;db&#8221; ks\u0131m\u0131na &#8220;db&#8221; yerine <strong>&#8220;localhost&#8221;<\/strong> veya MySQL serverin IP adresini yazarsan\u0131z sorun \u00e7\u00f6z\u00fclecektir.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">\u00c7\u00f6z\u00fcmleriniz i\u00e7in g\u00fcvenilir ve performansl\u0131 <a class=\"waffle-rich-text-link\" href=\"https:\/\/www.inetmar.com\/hosting\/linux-hosting\/\">linux hosting<\/a> paketlerimiz.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &#8220;php_network_getaddresses: getaddrinfo failed: Name or service not known&#8221; hatas\u0131, genellikle bir a\u011f adresini \u00e7\u00f6zme sorunundan kaynaklan\u0131r. Hatan\u0131n Nedeni Bu hata genellikle a\u015fa\u011f\u0131daki nedenle ili\u015fkilidir: Yanl\u0131\u015f URL veya Host Ad\u0131: Kodunuzda yanl\u0131\u015f bir URL veya&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":5531,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-4854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/4854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/comments?post=4854"}],"version-history":[{"count":5,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/4854\/revisions"}],"predecessor-version":[{"id":9513,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/4854\/revisions\/9513"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media\/5531"}],"wp:attachment":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media?parent=4854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/categories?post=4854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/tags?post=4854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}