Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

UDP fwrite error on my shared hosting

Discussion in 'General Discussion' started by Infernus 101, May 6, 2019.

  1. Infernus 101

    Infernus 101 Registered

    Joined:
    May 6, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    I am having trouble with writing data to socket for udp connection using fwrite, i get this error : PHP Notice: fwrite(): send of 7 bytes failed with errno=1 Operation not permitted
    I am using shared hosting with cpanel on godaddy, i contacted godaddy but they cant understand the problem, can you please explain me this if someone can?
     
  2. httpdocs

    httpdocs Member

    Joined:
    Mar 9, 2018
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    78
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    Make sure the ip address and port are correct.
    Verify that the server is up and running.
    Make sure the ip address and port are reachable (not blocked in any firewalls)
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,335
    Likes Received:
    2,162
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Infernus 101,

    You'll need to respond to the support request you opened with your provider and verify if the following PHP function is permitted:

    PHP: fopen - Manual

    It's likely they have disabled the use of this PHP function (and thus it's use as part of the fwrite action will fail).

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice