Jump to content


Photo

[Solved] CAN'T DOWNLOAD FILE FROM EXTERNAL URL

file_get_contents php url download block

  • This topic is locked This topic is locked
6 replies to this topic

#1 mfjchile

mfjchile

    Newbie

  • Members
  • 3 posts

Posted 29 November 2019 - 03:14 PM

Hi, please help.

I can't download files from external url like before.

 

the function file_get_contents() is not working as before, i'm getting the error:

"failed to open stream: Connection refused"

 

i understand this could be a firewall block level, so please check it out.

Thanks!



#2 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 11,472 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 29 November 2019 - 03:16 PM

Can you post the full URL of the file being downloaded?

Connection refused usually means either the remote server is broken/blocking us (not our problem, you'd need to contact that server's owner) or the port you're connecting on is blocked (outbound connections are supported on all standard ports)

Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#3 mfjchile

mfjchile

    Newbie

  • Members
  • 3 posts

Posted 29 November 2019 - 03:24 PM

Can you post the full URL of the file being downloaded?

Connection refused usually means either the remote server is broken/blocking us (not our problem, you'd need to contact that server's owner) or the port you're connecting on is blocked (outbound connections are supported on all standard ports)

Hi !

this is the url, is an iptv m3u list that i want to copy on my heliohost to get compatility with OttPlayer
http://tecnotv.club

 

this url in his header contains a location redirect to domain:

http://plexonline.club:25461/get.php?

to generate and deliver the list in m3u format

 

maybe i need to open the outbound port 25461 of the domain plexonline.club

 

 

Thanks for the fast reply!



#4 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 11,472 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 29 November 2019 - 03:45 PM

That's likely the issue. We don't allow outbound connections on port 25461...

Krydos might be willing to open this for you. Let's see what he says.

Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#5 mfjchile

mfjchile

    Newbie

  • Members
  • 3 posts

Posted 29 November 2019 - 04:26 PM

That's likely the issue. We don't allow outbound connections on port 25461...

Krydos might be willing to open this for you. Let's see what he says.

Please Krydos i need your help to open the 25461 outbond port to domain http://plexonline.club:25461/

 

 

it's just to download a m3u file and put it on my heliohost.

 

Thanks!



#6 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 11,472 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 29 November 2019 - 04:39 PM

Looking at that site a bit further makes me wonder if this should even be approved.

 

I suspect that site may be distributing or linking to pirated movies/TV, which is against our Terms of Service.


Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#7 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 19,356 posts
  • Gender:Male

Posted 02 December 2019 - 01:30 AM

I know a guy that uses plex, and it is indeed piracy. OP, if you have proof that what you're doing isn't piracy let us know and I'll take another look.





Also tagged with one or more of these keywords: file_get_contents, php, url, download, block

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users