2018/03/06 15:34:57.902123 listen tcp :8000: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
No matter what I run:
currently:
package main
import "examples/week2/day1/hello"
func main() {
hello.Hello()
}
I get:
GOROOT=C:\Go #gosetup
GOPATH=N:\projects\go;N:\code 6TB #gosetup
C:\Go\bin\go.exe build -i -o C:\Users\JERRYP~1\AppData\Local\Temp\___go_build_main_go__2_.exe "N:/code 6TB/Ex_Files_Go_for_Web_Dev/Ex_Files_Go_for_Web_Dev/Section 6/Video 6.1/goji/main.go" #gosetup
"C:\Program Files\JetBrains\GoLand 2017.3.3\bin\runnerw.exe" C:\Users\JERRYP~1\AppData\Local\Temp\___go_build_main_go__2_.exe #gosetup
2018/03/06 15:34:57.902123 listen tcp :8000: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Process finished with exit code 1
No matter what I do, I get the same error.
Please sign in to leave a comment.
Hi,
From what I can see from the error is generated either by the firewall or a faulty network connection.
Try the following:
- pause / restart the firewall and / or antivirus
- reboot the computer
- "restart" the "TCP/IP stack". Run "CMD" as administrator, type "netsh int ip reset"
Hope this helps.