Welcome! Log In Create A New Profile

Advanced

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

Francis Daly
January 31, 2020 03:08PM
On Fri, Jan 31, 2020 at 10:49:26AM -0500, MarcoI wrote:

Hi there,

> This is the output of the "Network" tab :
> https://drive.google.com/open?id=1QJMe8FEBrEuWacHWeJ_TQegMkF0v68AY

That picture looks like the right-hand side is showing the "request
details" of the fifth request down, the red "info" one.

Look at the first few successful requests instead.

Or maybe "view source" of the main page, and look at the html that
was returned. What puts the word "localhost" into that html?

> " Either a http redirect response header, or some response body content,
> invites the browser to try to access localhost" :
> as far as I see and understand, the requested URL, or the URL to which the
> initial request is redirected, from the initial https://ggc.world , is:
> Request URL: https://localhost/sockjs-node/info?t=1580484448072

I don't see that.

Can you see or show the complete response to the initial request?

> I ask you... am I right or wrong in thinking that this proxy_pass address
> has to be changed?

I think it probably does not need to be changed.

I think that either you need to add some nginx proxy_redirect lines; or
you need to change the vue setup to never use the word "localhost". Or
maybe both.

If you can show where the word "localhost" appears in the response to the
request for ggc.world, it may be clearer where the change should be made.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

MarcoI January 29, 2020 08:20AM

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

MarcoI January 29, 2020 08:39AM

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

Francis Daly January 29, 2020 03:16PM

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

MarcoI January 30, 2020 08:11AM

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

Anoop Alias January 30, 2020 08:28AM

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

MarcoI January 30, 2020 10:01AM

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

Francis Daly January 30, 2020 01:46PM

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

MarcoI January 30, 2020 11:08AM

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

MarcoI January 31, 2020 04:40AM

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

Francis Daly January 31, 2020 06:10AM

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

MarcoI January 31, 2020 09:05AM

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

MarcoI January 31, 2020 09:21AM

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

Francis Daly January 31, 2020 09:52AM

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

MarcoI January 31, 2020 10:49AM

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

Francis Daly January 31, 2020 03:08PM

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

MarcoI February 01, 2020 04:44AM

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

Francis Daly February 02, 2020 06:08AM

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

MarcoI February 11, 2020 02:28PM

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

MarcoI February 11, 2020 02:31PM

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

Francis Daly February 12, 2020 03:14AM

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

MarcoI February 12, 2020 04:24AM

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

MarcoI April 30, 2020 02:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready