# UDP Socket PHP

**URL:** <https://forum.infinityfree.com/t/udp-socket-php/79066>\
**Category:** Hosting Support\
**Created:** [July 14, 2023, 10:29pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066 "2023-07-14T22:29:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon67747041](https://forum.infinityfree.com/letter_avatar/anon67747041/32/6_449c533f586939b6e5f246632a46421f.png) [@anon67747041](https://forum.infinityfree.com/u/anon67747041)\
**Post date:** [July 14, 2023, 10:29pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/1 "2023-07-14T22:29:52Z")

</div>

[-] Error connecting #0: Unable to find the socket transport “udp” - did you forget to enable it when you configured PHP?

It’s trying to connect to UDP 27015 (i presume)

Is it possible to enable this and allow UDP 27015 to be open? TCP 27015 seems to work completely fine, just not UDP.

Also, another question, if I were to pay for a upgraded package, would I be able to define my own ports to open and close?

I’m hoping this can be sorted out as I am tempted to move more of my web-hosted stuff from OVH over to here as it is much cheaper.

Thanks

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [July 14, 2023, 11:14pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/2 "2023-07-14T23:14:05Z")

</div>

Welcome!

You cannot connect to your free hosting website from non-browser devices (ex: API use is prohibited).

Additional ports cannot be opened upon request. For premium hosting, it will depend on what plan you are on, you may need a dedicated server. You can ask for details about premium hosting at [support.iFastNet.com](http://support.iFastNet.com)

---

<div class="post-metadata">

**Author:** ![anon67747041](https://forum.infinityfree.com/letter_avatar/anon67747041/32/6_449c533f586939b6e5f246632a46421f.png) [@anon67747041](https://forum.infinityfree.com/u/anon67747041)\
**Post date:** [July 15, 2023, 11:42am UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/3 "2023-07-15T11:42:05Z")

</div>

Ok, so if I paid I would be authorised to use API? It does seem non-browsers can access my web-servers with no issues. Just not via this method I am attempting.

You haven’t really answered my question, if I did pay for a premium package I would be able to open ports - yes or no? I take it that this is information you do not know.

If not then I will most likely just stay with OVH as I can do whatever I need whenever I need it done. InfinityFree/IFastNet just offers much cheaper services comparitively.

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [July 15, 2023, 12:15pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/4 "2023-07-15T12:15:50Z")

</div>

> [@anon67747041](#):
>
> so if I paid I would be authorised to use API

Yes.

> [@anon67747041](#):
>
> I would be able to open ports - yes or no?

You’ll need a VPS or a dedicated. Shared premium hosting doesn’t give you that option.  
You can always refer to this iFastNet’s official cPanel demo to see what can you do in shared premium: [https://sv4.byethost4.org:2083/cpsess2609253849/frontend/jupiter/](https://sv4.byethost4.org:2083/cpsess2609253849/frontend/jupiter/)

---

<div class="post-metadata">

**Author:** ![anon67747041](https://forum.infinityfree.com/letter_avatar/anon67747041/32/6_449c533f586939b6e5f246632a46421f.png) [@anon67747041](https://forum.infinityfree.com/u/anon67747041)\
**Post date:** [July 15, 2023, 12:27pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/5 "2023-07-15T12:27:54Z")

</div>

Thank you. This response is much better.

I will consider my options before moving over here, and review that demo.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [July 22, 2023, 12:28pm UTC](https://forum.infinityfree.com/t/udp-socket-php/79066/6 "2023-07-22T12:28:49Z")

</div>

Closed on July 22, 2023, 12:28pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
