I know my problem sounds very familiar. But I can't debug my Play! project via Eclipse. I read some tutorials but nothing helped me.
Precondition:
- use Windows 8 with Eclipse Juno and Play 2.1
- check that port 9999 is not in use
- create a play project and "eclipsify" it
Workflow:
1. start play with "play debug run"
- http listening port = 9000 and jpda = 9999
2. setup debug config: Java Remote Application; Socket Attach; host = locahost; port = 9999
3. debug project
--> Error: Failed to connect to remote VM. Connection refused. Connection refused: connect
I also tried to run eclipse as admin with the same result. I heard it is possible to change the jdpa port but I doesn't make sense cause 9999 is free. Also I would like to know how can I start debug mode inside the play console? I only can start debugging via "play debug run"
Thanks a lot
G.
Almost identical problem: Debug Playframework 2.0 in Eclipse