Problem “Could not open socket”

Sempet aneh sama keterangan error pas web yg gw kelola itu mau signup, di popup status berhasil atau gagal yang seharusnya keluar tapi malah ga keluar. Yang nongol malas tulisan error “Could not open socket”. Setelah nanya sama mbah gugel, ternyata problemnya itu ada di API Google Captcha yang gw tempel di form signup.

Cari line yang awalnya itu

define(“RECAPTCHA_VERIFY_SERVER”

nah coba dirubah aja jadi beberapa pilihan..

define(“RECAPTCHA_VERIFY_SERVER”, “www.google.com”);

atau

define(“RECAPTCHA_VERIFY_SERVER”, “74.125.227.48”);

atau

define(“RECAPTCHA_VERIFY_SERVER”, gethostbyname(“www.google.com”));

Coba aja dirubah mana yang pas, kalo yang gw pake pertanggal ini post gw tulis default yg gw gunain itu define(“RECAPTCHA_VERIFY_SERVER”, “74.125.227.48”); dan pas gw rubah jadi define(“RECAPTCHA_VERIFY_SERVER”, gethostbyname(“www.google.com”)); akhirnya masalah terselesaikan 😉 semoga bermanfaat

About the Author

Anshori Wahyu
My name is Mas Wahyu Anshori, 32 years old. I am a student from STIE Ahmad Dahlan Jakarta, work at Punakawan Digital Media since Oct 2017. Before I came to Punakawan, I was doing IT Supportt and web content at Seratus Company, Melodia Group and be part of Kehati as a freelance web developer. I was also a freelance web developer with simple HTML, CSS base, jQuery, and PHP. Learned Website Developer base (with a help of Google) by myself would be my achievement so far. I'am an Indonesian football junkie, as well as addicted to HTML, CSS and jQuery coding.

Be the first to comment on "Problem “Could not open socket”"

Leave a Reply