Jump to content

[Solved] Tommy FSockOpen PHP?


Recommended Posts

hi, i have a PHP script that uses FSockOpen() to communicate with some game servers to get info, however i was told that ports are blocked and to ask here to allow ports here?

if you can, can you unblock ports 27014 thru 27100 on my site, so that i can access the game servers using PHP?

i tried to use it before without knowing this was a thing, thinking my script was just broken (though it worked on XAMPP)

Link to comment
Share on other sites

We won't open ports on the shared hosting even if the control panel was working. You need a VPS for that.


Wait, are you asking for inbound or outbound ports? We can open outbound ports. At first read I was thinking you were asking for inbound.

Edited by Krydos
Link to comment
Share on other sites

Posted (edited)
18 hours ago, Krydos said:

Why do you need 86 ports? The most anyone has ever requested is like 2 or 3.

Source Engine servers requires 3 ports to function (main port, source query port, and some mysterious port), and i have various source servers running, and there is a glitch with the dedicated servers where sometimes the servers decide to ignore the chosen ports and adds 1 port to the port (27015 would end up as 27016)


edit: i found out what the 3rd port is used for, it is used for RCON/Remote Control of the server (read/write server data,  do commands, etc)

Edited by thexkey
found out what the 3rd port is used for
Link to comment
Share on other sites

1 hour ago, Krydos said:

So will it work with 3 ports instead of 86 then? If so what 3 ports do you need?

no, it requires 3 ports PER server instance (forgot to clarify about that sorry) i have 27 servers running with various games and maps

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...