我在JDeveloper中收到“ java.net.SocketException:权限被拒绝:连接”。下面是错误日志文件:
18/07/22 10:40:01 java.net.SocketException: Permission denied: connect
18/07/22 10:40:01 at java.net.PlainSocketImpl.socketConnect(Native Method)
18/07/22 10:40:01 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
18/07/22 10:40:01 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
18/07/22 10:40:01 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
18/07/22 10:40:01 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
18/07/22 10:40:01 at java.net.Socket.connect(Socket.java:507)
18/07/22 10:40:01 at java.net.Socket.connect(Socket.java:457)
18/07/22 10:40:01 at java.net.Socket.<init>(Socket.java:365)
18/07/22 10:40:01 at java.net.Socket.<init>(Socket.java:207)
18/07/22 10:40:01 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
18/07/22 10:40:01 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
18/07/22 10:40:01 at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1202)
18/07/22 10:40:01 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1049)
18/07/22 10:40:01 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
18/07/22 10:40:01 at java.lang.Thread.run(Thread.java:595)
18/07/22 10:40:01 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
下面是OAF的屏幕截图,其中显示了使用的端口:
我也在Windows 8.1系统中使用Java 8。
有人可以帮我吗?
关于, 阿育斯
答案 0 :(得分:0)
您检查过,使用的端口是否可用? 请打开控制台并写 netstat -aon
还可以提供更多信息吗? 谢谢。