Can't run Flex project: java.net.SocketException

已回答

Hello.

I'm trying to run a Flex project within IDEA, but am coming up with the following errors:

[JOLTSApp_V1_0 (module Dev_v31)]: java.net.SocketException: Permission denied: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)

And the Build fails with these 3:

  • [JOLTSApp_V1_0 (module Dev_v31)]: java.net.SocketException: Permission denied: connect
  • [JOLTSApp_V1_0 (module Dev_v31)]: java.net.SocketTimeoutException: Accept timed out
  • [JOLTSApp_V1_0 (module Dev_v31)]: at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)

I'm figuring this is a local Windows firewall thing, but the techs at my organization have been making tweaks, but we've not had success. A colleague of mine can build and run this project with no issues.

Any ideas?

 

评论操作 固定链接

Hi Eric,

Make sure that all IDE default directories, installation folder and project files are excluded from the scan. For more information, see help article one and two.

It may help to add this switch to Help | Edit Custom VM Options:

-Djava.net.preferIPv4Stack=true

You may also want to delete all entries in your hosts file with assignments to "127.0.0.1" (only keep the localhost one).

0

请先登录再写评论。