I've found some configuration which appears to indicate the port the gitea binds to, see below:
I changed the actual address of the machine to 127.0.0.1
(the loopback) thinking that I would be able to make gitea accessible only by tunneling into the device with SSH, but when I restart the service I can still access it via the device's ip on port 3000.
Shouldn't changing the ROOT_URL
and HTTP_PORT
cause it to be bound to the loopback address, requiring me to do port forwarding through my SSH client to reach port http://127.0.0.1:3000
?
P.S. If you feel this question does not belong on Stack Exchange, go ahead and send it over to another site that is more well suited to it; but I would think that gitea isn't used too much by people other than programmers, which is why I posted it here.