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

Francis Daly francis at daoine.org
Fri Jan 31 14:51:44 UTC 2020


On Fri, Jan 31, 2020 at 09:05:08AM -0500, MarcoI wrote:

Hi there,

Thanks for that info.

Sadly, it looks like the "curl" output is not immediately-obviously
useful for determining why your browser tries to access "localhost"
when you tell it to access ggc.world.

If you repeat the initial test in the browser, that gave you the
sockejsError08.jpg picture, but look at the "Network" tab -- where does
the word "localhost" first appear?

You are pointing your browser at ggc.world. Either a http redirect
response header, or some response body content, invites the browser to
try to access localhost.

*That* is the thing that needs to be changed. If you can see where it is,
then maybe it will be clear how to change it.

Good luck with it!

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list