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 Seratus Company since Oct 2012. Before I came to Seratus Company, I was doing web content at 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 HTML and CSS 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