Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95481

Synology + Docker + Homeassistant + Emulated Hue - Port 80 Issues

$
0
0

@Deten wrote:

My Docker container needs port 80, but synology uses it for redirecting nginx. Is there any negative removing that redicrection?

What kicked this off is this error:

2020-04-17 21:20:50 ERROR (MainThread) [homeassistant.components.emulated_hue] Failed to create HTTP server at port 80: [Errno 98] error while attempting to bind on address ('192.168.XXX.XXX', 80): address in use

I have searched around and found some code I could use to remove the nginx redirect, I think… if I can trust the internet with these things :slight_smile: I am not sure what I might lose by removing the nginx redirect… so I am nervous to do it.

On the other hand maybe there is another solution I can use that is less intrusive? Any help would be appreciated!

sed -i -e 's/80/81/' -e 's/443/444/' /usr/syno/share/nginx/server.mustache /usr/syno/share/nginx/DSM.mustache /usr/syno/share/nginx/WWWService.mustache

synoservicecfg --restart nginx

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95481

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>