Skip to main content

UDP fwrite error on my shared hosting

Comments

2 comments

  • httpdocs
    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?

    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)
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.