Welcome! Log In Create A New Profile

Advanced

Re: Web site not working on port redirection

May 10, 2019 12:31PM
Hi Francis,

Thanks for the detailed explanation. I agree with your diagnostic.

In fact I've tried to listen on port 8000 and it works properly. The problem is that I cannot let this port open on LAN, just 80 due to security requirements. And port 80 cannot be opened to the internet, so I need to use a high numbered port (8000). Sounds strange but that's my scenario.

I really need a way to bring 80 to 8000 and make it work.


Repair that NGINX seens to knowsthat the request is coming from port 8000 (I can see in the logs and my print of window.location shows it), I just need a way to optionally include it in the redirected address. Some log events when navigating:

190.254.100.100 - - [10/May/2019:09:53:29 -0300] "POST /graphql HTTP/1.1" 200 1372895 "http://190.80.200.100:8000/admin/running" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36"
190.254.100.100 - - [10/May/2019:09:53:59 -0300] "POST /graphql HTTP/1.1" 200 1386 "http://190.80.200.100:8000/admin/orders" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36"
190.254.100.100 - - [10/May/2019:09:54:00 -0300] "POST /graphql HTTP/1.1" 200 191740 "http://190.80.200.100:8000/admin/orders" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36"
205.185.100.100 - - [10/May/2019:10:12:12 -0300] "GET / HTTP/1.1" 200 580 "http://190.80.200.100:8000/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)"
Subject Author Posted

Web site not working on port redirection

cox123456a May 10, 2019 07:57AM

Re: Web site not working on port redirection

Francis Daly May 10, 2019 09:56AM

Re: Web site not working on port redirection

cox123456a May 10, 2019 12:31PM

Re: Web site not working on port redirection

cox123456a May 10, 2019 06:49PM

Re: Web site not working on port redirection

Francis Daly May 10, 2019 06:54PM

Re: Web site not working on port redirection

Francis Daly May 13, 2019 06:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
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