I tried official download image and compile official tag v23.05.02 image. Both were connectable via SSH and stuck at "LuCI - Lua Configuration Interface".
I am sure that luci and uhttpd are installed and working normally, and there is no port conflict with uhttpd. And I disabled all ipv6 setting on lan( even not disabled can't get in LUCI either). Because i use ipv4 in LAN and access LUCI via ipv6 got error code 502 in F12 console.
You changed the subenet address of OpenWrt
or
OpenWrt has gone into DHCP server mode and your device is in the wrong subnet because it is not receiving DHCP from router.
One way or another the browser is in a different subnet than OpenWrt.
-edit-
e.g.
Your network was using 192.168.x.1 but now the network is using 192.168.y.1.
The SSH connection between openwrt and other devices may prove that they are on the same subnet,
I disabled openwrt DHCP server because i had a main router as DHCP server. And i set static IP(192.168.3.x) to all important devices( main router, PC, unRaid, openwrt etc).
Besides, i tried openwrt default IP(192.168.1.1) and set PC's IP(192.168.1.2) g、Gateway( 192.168.1.1). Same as when ip is 192.168.3.x can connect via SSH and stuck at LUCI