502 Bad Gateway on WebGUI
I just installed MultiOTP on a Windows 2012R2 server, and I get a 502 Bad Gateway page when I open the webGUI at 127.0.0.1:8112. Looking at the error.log file in C:\MultiOTP\windows\webservice\logs, I see the following error:
2025/10/16 09:26:40 [error] 1384#1380: *18 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "127.0.0.1:8112"
2025/10/16 09:26:41 [error] 1384#1380: *18 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "127.0.0.1:8112", referrer: "http://127.0.0.1:8112/"
Any idea what could be causing this?
Comments
Please have a look at : https://github.com/multiOTP/multiotp/issues/181#issuecomment-1872489124
Best regards