Search code examples
eclipsemacosgrailsports

Other instance of server on port 8080


I am a Mac noob here.

When I try to run my Grails project I get:

 Error Server failed to start for port 8080: Address already in use (Use --stacktrace to see the full trace)

On Windows, I would have just done netstat -aon and killed the process on 8080.

On a Mac, I’m new, so I haven’t much of a clue. I tried:

lsof -i | grep 8080

and couldn’t see anything on port 8080.

So I tried just:

lsof -i

and I still couldn’t see anything on 8080.

Any tips?


Solution

  • Possibly a case for moving to superuser, but "lsof -i :8080" will exactly show what's listening on that port.