Skip to content

Commit

Permalink
Update on listen address
Browse files Browse the repository at this point in the history
I had problem on connecting to the container and after investigations I found that it's because program is listening for connections on `localhost` which is good to listen on any interface.
So I changed the `localhost` to `0.0.0.0` and it worked, Now I can connect to container.
  • Loading branch information
RaminMT committed Mar 8, 2019
1 parent 4d5a12d commit e30722b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -21,7 +21,7 @@ func main() {
delay = 1
limit = 300
usersLimit = 300
listenAddr = "localhost:8080"
listenAddr = "0.0.0.0:8080"
g = graph.New()
showLast = false
)
Expand Down

0 comments on commit e30722b

Please sign in to comment.