net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with

Francis Daly francis at
Fri Jan 31 11:09:45 UTC 2020

On Fri, Jan 31, 2020 at 04:40:45AM -0500, MarcoI wrote:

Hi there,

> I add more information and a question:

>     (base) marco at marco-U36SG:~$ curl -Iki
>     HTTP/1.1 405 Method Not Allowed
>     Server: nginx/1.14.0 (Ubuntu)
>     Date: Fri, 31 Jan 2020 09:34:59 GMT
>     Connection: keep-alive
>     Allow: OPTIONS, GET
> What does it mean "HTTP/1.1 405 Method Not Allowed" ?

Exactly what is says.

"curl -I" does HEAD not GET. Some part of your system does not want to
allow HEAD requests.

What does "curl -vk" show? That will make a GET request.

Francis Daly        francis at

More information about the nginx mailing list