#Custom addon port issues

1 messages · Page 1 of 1 (latest)

acoustic iris
#

Hello,
I've created a custom addon that exposes a simple golang webserver running at port 8000. I've added the port to config.yaml, but it is still inaccessible at homeassistant.local:8000.

Did I forget to do something? I followed the beginner addon guide.

This is a part of the go program: ```go
func main() {
http.HandleFunc("/", handle)
http.Handle("/favicon.ico", http.NotFoundHandler())

fmt.Println("Server started at http://localhost:8000")
err := http.ListenAndServe(":8000", nil)
if err != nil {
    panic(err)
}

}