OPNsense Forum

English Forums => General Discussion => Topic started by: jackc on August 22, 2023, 07:31:20 PM

Title: Web gui HTTPS Port 80
Post by: jackc on August 22, 2023, 07:31:20 PM
Good afternoon,
I ended up changing the web gui configuration from HTTP to HTTPS but the port was 80 and I lost access.

Is there anything I can do?
Title: Re: Web gui HTTPS Port 80
Post by: Patrick M. Hausen on August 22, 2023, 09:08:51 PM
https://<IP address>:80/ doesn't work?
Title: Re: Web gui HTTPS Port 80
Post by: jackc on August 22, 2023, 09:39:28 PM
Quote from: Patrick M. Hausen on August 22, 2023, 09:08:51 PM
https://<IP address>:80/ doesn't work?

worse than not, I simulated the error in another virtual machine and it does not allow the connection in this way.
Title: Re: Web gui HTTPS Port 80
Post by: cookiemonster on August 22, 2023, 09:52:51 PM
Still have ssh access? Try to see if there's a listener open and on which port. You're looking for lighttpd
#sockstat -4l
ps. Changing from http to https assumes a default of port 443. Did you change to https and wrote 80 in the tcp port field?
Title: Re: Web gui HTTPS Port 80
Post by: jackc on August 22, 2023, 10:06:33 PM
Quote from: cookiemonster on August 22, 2023, 09:52:51 PM
Still have ssh access? Try to see if there's a listener open and on which port. You're looking for lighttpd
#sockstat -4l
ps. Changing from http to https assumes a default of port 443. Did you change to https and wrote 80 in the tcp port field?

It didn't switch automatically,

I ran the command and there is no lighttpd.