Not able to upload a document via plugin's environment in Wordpress site

Posted March 28, 2019 787 views
WordPressUbuntu 16.04

Hi, respectable colaborators in this community

In my WP site i can upload files via midia upload and also directly into pages or posts.

It is fine also to update the themes through each theme’s button. But if i click in Wordfence’s button to update the themes all at once i get the error message below.

When clicking in the button inside a plugin, like ‘send a document’,
or while reviewing the plugins page list, when i click on the button that redirects to the author’s page of a chosen plugin, i get the following error message:

:( connection with was refused

I went through some answers here but i didn’t find a solution yet. For long time i have been avoiding this issue because i could always go around it. But this time the document must be uploaded via plugin, so that it works properly.

So, please, i need your help.

Thanks a lot!!

1 comment
  • Oi

    Eu suspeito que isso pode ser causado por uma configuração em seu PHP

    post_max_size = XXXM
    upload_max_filesize = XXM

    Veja também quanto seu servidor da Web pode manipular. Para NGINX /etc/nginx/nginx.conf

    client_max_body_size XXXM;

    Desculpas Eu não uso o Apache, então eu não tenho essas configurações.

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.

Submit an Answer
1 answer



I’ll continue to write in english so that the informations may be useful to others.

Before i go into any action, i want to further inform that the problem arises only when the media screen is called. If i, for example, click with right button of the mouse to open the action in a new browser window, it works fine. Everything is working fine, except when the wordpress needs to call the media screen.

For example, if i click to see the details of any plugin, the media screen is called and the

domain connection is refused

But if i click to open it in another browser window, it works fine. Downloads and uploads, updates, all are working fine except if the action is to be done from inside the media screen!

So, this is it. Thanks for caring!!

  • Does this action happen in all browsers? From the sounds of it there may be an extension like a pop up blocker or security one that is blocking the this action. Try disabling browser extensions as well as extensions in WordPress as well.