Question

Connection blocked on my server?

Hello,

currently I have a plugin running on my virtual server, within the php of this plugin it uses curl to get data from another url not situated on this server. Currently something seems to be stopping this, has this happened to anyone and do you have any suggestion?

Thanks, Fab

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @info812022,

Usually in this situation, you’ll need to provide a little bit more information just to make sure you get a relevant answer. Anyway, what I’ll recommend is to actually use the var_dump(); function to see where exactly it fails.

The var_dump() function is used to dump information about a variable. This function displays structured information such as type and value of the given variable. Arrays and objects are explored recursively with values indented to show structure. This function is also effective with expressions.

You can read more about this here :

https://www.php.net/manual/en/function.var-dump.php

Regards, KFSys

This comment has been deleted