fsockopen(): unable to connect to remote server ip |
Good Day,
I am working with Online Games Frontend Template. werein I am fetching data from GAMES REMOTE server. I am able to connect to the remote server MSSQL Database but the fsockopen() does not work and I already allowed the Web Hosting IP to our Server Inbound connection. Please see codes below PHP Code: function getServerConnection($ip, $port) { when I var_dump the ($sockres) this was the result Quote:A PHP Error was encountered I`ve search a lot on the internet but we have different error, their is for send Emails while mine is only to check if the Server is ONLINE or OFFLINE NOTE: This is working on a local PC, but if it for my webhosting to remote game server it won`t work except for fetching data from remote server MSSQL database.
In your php.ini, is allow_url_fopen = On ?
CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5)
(02-13-2021, 02:24 PM)waraywarayako Wrote: Good Day,An incomprehensible situation, it is interesting to know the solution to the problem. |
Welcome Guest, Not a member yet? Register Sign In |