Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Dialer.Dial failed to establish connection on Ubuntu #21404
What version of Go are you using (
Your program is trying to make initiate TCP connections from the same local port. The only way to implement that with the sockets API is to bind the socket before making the connect call. Calling
Closing because I don't see any way that Go could change to make this program work.
In general, if you have questions about using Go, please don't use the issue tracker. See the forums at https://golang.org/wiki/Questions.