惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
J
Java Code Geeks
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
腾讯CDC
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
V
V2EX
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
Jina AI
Jina AI
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
A
About on SuperTechFans
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
B
Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium

博客园 - 前端小小菜

本地 Android 设备长期在线 + 云服务器对外提供签名接口(可落地方案) 夸克等网盘作为小爱音源方案 pigx 改造升级vite,webpack+vue2 升级 vite+vue2 记录 QQ幻想开心辞典答题器,自动答题器《FO回忆》 avue的一些踩坑记录 captcha-trainer运行环境使用腾讯云十分钟搭建教程 关于宝塔会自动上传网站访问数据的问题 charles for centos 实现map local/map remote功能 nfc reader iso-7816 读卡器参考资料 博文阅读密码验证 - 博客园 win7 移动用户目录的mklink命令 mac下electron打包exe 出现白屏问题的记录 小米路由器3G 刷openwrt并安装cups一拖多台打印机攻略 husky7 + eslint +prettier配置vue2.x 开发环境 苹果与安卓万年不改的臭毛病 哪个城市更容易考上好大学——全国各省历年中考高考升学率统计 哈哈哈, 腾讯云服务器被黑 sketch相关 vue ssr 若干问题整理(基于easywebpack)
Got minus one from a read call, connect lapse
前端小小菜 · 2025-03-17 · via 博客园 - 前端小小菜

通过docker创建的Oracle数据,springboot连接时,不能使用localhost别名,会报错。要使用ip地址(内网ip即可)

Got minus one from a read call, connect lapse

https://stackoverflow.com/questions/19660336/how-to-approach-a-got-minus-one-from-a-read-call-error-when-connecting-to-an-a

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.

It worked for me too. Only put the internal server address IP. no is necessary to put a public IP.