Open 15520528 opened 5 years ago
go -i run main.go
try this
you mean gin -i ....
? Using the -i option helped for me
you mean
gin -i ....
? Using the -i option helped for me
Confirm. In my case gin -i --appPort 8080 --port 3000 run main.go
is useful
I ran into this issue as well. Found that if you put the --appPort
flag after the run .
then it will use the default flag i.e 3001
. So as long as I put run .
or run main.go
at the end of the command everything worked as expected.
i got those error while access to url localhost:8080
here my code