OPNsense Forum

English Forums => General Discussion => Topic started by: tuananh on December 03, 2023, 03:11:41 PM

Title: i made a mistake of using port 443 forgot that i have haproxy already use that
Post by: tuananh on December 03, 2023, 03:11:41 PM
i change the opnsense admin port to 443, forgot that haproxy is already using that. now i can't access admin page.

i didn't enable ssh. what options do i have ?
Title: Re: i made a mistake of using port 443 forgot that i have haproxy already use that
Post by: tuananh on December 03, 2023, 03:27:35 PM
i suppose i can plug in the display cable and login from there? and uninstall haproxy.

would that work?
Title: Re: i made a mistake of using port 443 forgot that i have haproxy already use that
Post by: Monviech (Cedrik) on December 03, 2023, 03:42:17 PM
Did you already reboot? I think (unsure) since HAproxy starts later than lighttpd of the OPNsense GUI, the OPNsense GUI will take the port 443 before HAproxy can take it. Then HAproxy will fail to start, but the GUI might be accessable.
Title: Re: i made a mistake of using port 443 forgot that i have haproxy already use that
Post by: tuananh on December 03, 2023, 03:54:16 PM
Thanks. Lemme try doing that. I figure that too but haven't actually tried it yet.
Title: Re: i made a mistake of using port 443 forgot that i have haproxy already use that
Post by: tuananh on December 04, 2023, 02:41:57 PM
Quote from: Monviech on December 03, 2023, 03:42:17 PM
Did you already reboot? I think (unsure) since HAproxy starts later than lighttpd of the OPNsense GUI, the OPNsense GUI will take the port 443 before HAproxy can take it. Then HAproxy will fail to start, but the GUI might be accessable.

it works. thank you.