Can I use Sockets on free hosting?
While socket functions are restricted for safety and security reasons, some of them, such as fsockopen() can be used, albeit in a limited manner.
What ports are open on free hosting?
Free hosting is built to host websites, so only website-related ports are open for use. These include port 80 (HTTP Traffic), port 25 (SMTP), and port 443 (HTTPS Traffic), just to name a few. Non-website ports (Such as for game servers) are not open, and additional ports cannot be opened upon request.