Felix
Felix

Reputation: 5619

running play framework 2.5 from intellij

I want to run a play project from Intellij console directly. But that dosn't work. Problem is the Server can't reach the mysql server ... connection timeout (both playframework and mysql are locally on my machine)

When I run the project from windows command line it works perfectly

what could be the reason for this?

Upvotes: 1

Views: 179

Answers (1)

Md Ashfak Chowdhury
Md Ashfak Chowdhury

Reputation: 330

Try setting proxy . May be proxy is not set in you play framework.

-Dhttp.proxyHost=<your proxy host>
-Dhttp.proxyPort=<your proxy port>
-Dhttps.proxyHost=<your proxy host>
-Dhttps.proxyPort=<your proxy port>

Upvotes: 2

Related Questions