Re: Reverse Proxy server show "Service Unavailable".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Problem solved.
It was because of SELinux:
# setsebool -P httpd_can_network_connect on






On Saturday, March 6, 2021, 10:11:27 PM GMT+3:30, Jason Long <hack3rcon@xxxxxxxxx.invalid> wrote: 





Thanks.
On VM1, I used VirtualBox Port Forwarding:

Protocol        Host IP        Host Port        Guest IP        Guest Port    
TCP              127.0.0.1     2080               10.0.3.15        80

When I enter "127.0.0.1:2080" in my browser, then logs on VM1 are:

# cat access_log 
10.0.3.2 - - [06/Mar/2021:22:03:01 +0330] "GET / HTTP/1.1" 503 299 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
10.0.3.2 - - [06/Mar/2021:22:03:01 +0330] "GET /favicon.ico HTTP/1.1" 503 299 "http://127.0.0.1:2080/"; "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"

# cat error_log 
[Sat Mar 06 22:03:01.275035 2021] [proxy:error] [pid 851:tid 1036] (13)Permission denied: AH00957: HTTP: attempt to connect to 192.168.1.4:80 (192.168.1.4) failed
[Sat Mar 06 22:03:01.275093 2021] [proxy_http:error] [pid 851:tid 1036] [client 10.0.3.2:33820] AH01114: HTTP: failed to make connection to backend: 192.168.1.4
[Sat Mar 06 22:03:01.320469 2021] [proxy:error] [pid 850:tid 990] (13)Permission denied: AH00957: HTTP: attempt to connect to 192.168.1.4:80 (192.168.1.4) failed
[Sat Mar 06 22:03:01.320528 2021] [proxy_http:error] [pid 850:tid 990] [client 10.0.3.2:33822] AH01114: HTTP: failed to make connection to backend: 192.168.1.4, referer: http://127.0.0.1:2080/

On VM2:
# cat access_log 
#
# cat error_log 
#







On Saturday, March 6, 2021, 07:14:09 PM GMT+3:30, Eric Covener <covener@xxxxxxxxx> wrote: 





> Service Unavailable
> The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
>

> Why?

What do both error_logs say?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux