net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

Francis Daly francis at daoine.org
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
> https://ggc.world/sockjs-node/info?t=1580397983088
>     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.

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list