How to approach a “Got minus one from a read call” error when connecting to an Amazon RDS Oracle instance

前端 未结 5 1661
甜味超标
甜味超标 2020-11-27 16:52

I\'m running Oracle 11GR2 on an Amazon RDS instance. occasionally I get an IO Error: Got minus one from a read call when making a call to DriverManager.ge

5条回答
  •  庸人自扰
    2020-11-27 17:37

    I got this error message from using an oracle database in a docker despite the fact i had publish port to host option "-p 1521:1521". I was using jdbc url that was using ip address 127.0.0.1, i changed it to the host machine real ip address and everything worked then.

提交回复
热议问题