Local Server will not start on Port 80

I try to reverse proxy a webservice on a local raspberry pi.
But when I start it it will bind to port 2015.
Port 80 is free. I have tested it by using netstat -tulp.

My Caddyfile contained:

hassbian.local {
	tls off
	proxy / localhost:8123	

The output when I start Caddy this is the output:

root@hassbian:/var/www# ./caddy 
Activating privacy features... done.

Hey Flemming, welcome. Very simply, Caddy’s default port is 2015. You can change it to 80 by defining your site address either as http://hassbian.local or hassbian.local:80.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.