fixed listening addresses
This commit is contained in:
@ -9,5 +9,6 @@ COPY Makefile ./
|
||||
COPY routes ./routes
|
||||
COPY util ./util
|
||||
|
||||
EXPOSE 7001
|
||||
RUN make
|
||||
ENTRYPOINT ["/app/server"]
|
||||
|
@ -30,7 +30,7 @@ func main() {
|
||||
routes.Setup(app, db)
|
||||
|
||||
log.Println("Starting web server at port 7001")
|
||||
err = app.Listen("127.0.0.1:7001")
|
||||
err = app.Listen("0.0.0.0:7001")
|
||||
if err != nil {
|
||||
log.Printf("Error starting the webserver: %s", err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user