Ubuntu 10.04
Go 1.1.1
In the code:
Log.Fatal(http.ListenAndServe(":3000", nil)
Then 'netstat -a | grep LISTEN', we can only see
tcp6 0 0 [::]:3000 [::]:* LISTEN
There's no 'tcp 0 0 *:3000 *:* LISTEN', but actually the server is able to be visited with IPv4 addresses.
Even when I changed the code to
The issue still keeps the same.
Anyone know the reason and solution? Thanks a lot.