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

推荐订阅源

D
DataBreaches.Net
F
Fortinet All Blogs
D
Docker
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
罗磊的独立博客
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
U
Unit 42
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
P
Proofpoint News Feed
G
Google Developers Blog
H
Help Net Security

博客园 - 前端小小菜

本地 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.