java.net.SocketException: java.net.SocketException: Invalid argument or cannot assign requested address

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mysql.com by Unknown author, 1 year ago
java.net.SocketException: Invalid argument or cannot assign requested address
via mysql.com by Unknown author, 1 year ago
java.net.BindException: Address already in use: connect
via magicmonster.com by Unknown author, 1 year ago
java.net.BindException: Address already in use: connect
via linuxquestions.org by Unknown author, 1 year ago
java.net.SocketException: Invalid argument or cannot assign requested address
via linuxquestions.org by Unknown author, 1 year ago
java.net.SocketException: Invalid argument or cannot assign requested address
via Stack Overflow by Ahmad Bassiouny
, 11 months ago
java.net.SocketException: Permission denied: connect
java.net.SocketException: java.net.SocketException: Invalid argument or cannot assign requested address
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:283)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2541)
at com.mysql.jdbc.Connection.(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at Auditor.BaseDatos.PruebaConexionAMySQL.inicializarConexion(PruebaConexionAMySQL.java:117)
at Auditor.BaseDatos.PruebaConexionAMySQL.hacer(PruebaConexionAMySQL.java:43)
at Auditor.BaseDatos.PruebaConexionAMySQL.main(PruebaConexionAMySQL.java:35)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.