出现Connection refused的问题原因一般有三种: 1. 服务器的端口没有打开 这种直接就是一直会Connection refused,不会间歇出现,可以直接排除; 2. 服务器的防火墙没有开白名单 很多跟外部对接的时候,是需要将公司出口ip加到对方防火墙白名单,这种也会直接Connec ...
分类:
其他好文 时间:
2020-01-20 22:45:15
阅读次数:
230
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection close ...
分类:
其他好文 时间:
2020-01-20 19:23:22
阅读次数:
110
警告信息如图: 解决: 在jdbcurl后面加上这个&useSSL=false参数: ...
分类:
数据库 时间:
2020-01-20 10:03:42
阅读次数:
96
1.创建neutron数据库 [root@master ~]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id ...
分类:
其他好文 时间:
2020-01-19 12:47:42
阅读次数:
89
今天因为种种原因,把mac上的homebrew玩坏了,需要重装的时候,即发现遇到一堆问题,记录于此: 1. (官网)卸载方法 运行时,却发现出错:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection ...
分类:
系统相关 时间:
2020-01-18 12:37:37
阅读次数:
149
package main import ( "github.com/gogf/gf/net/ghttp" "net/http" "net/url" "time" ) func main() { headers := map[string]string{ "Proxy-Connection": "ke ...
分类:
Web程序 时间:
2020-01-17 21:18:31
阅读次数:
115
一、 Callablestatement:调用 数据库中的存储过程、存储函数connection.prepareCall(参数:存储过程/存储函数名)参数格式:存储过程:(无返回值return,用Out参数代替返回值) {call 存储过程名(参数列表)}存储函数:(有返回值return) { ?= ...
分类:
编程语言 时间:
2020-01-17 21:09:46
阅读次数:
100
1.解决docker 容器内访问宿主机“No route to host”的问题,在搭建redis主从哨兵时 nmcli connection modify docker0 connection.zone trusted systemctl stop NetworkManager.service f ...
分类:
其他好文 时间:
2020-01-17 15:03:40
阅读次数:
119
1 下载 bcprov-ext-jdk15on-1.54.jar bcprov-jdk15on-1.54.jar ssl-provider-jvm16 mchange-commons-java.0.2.3.4 .jar 拷贝到 to jdk1.6.0_XX\jre\lib\ext ssl-provi ...
分类:
数据库 时间:
2020-01-17 13:11:06
阅读次数:
108
今天在用 kindeditor + vsftpd +nginx 做多图片上图的功能,前端报了错误 net::ERR_CONNECTION_REFUSED , 网上搜了一下,说要把 localhost 的地址替换成本机的 ip 地址,我尝试了一下,但是并没有成功,于是我又看了其他文章,说造成这个错误的 ...
分类:
Web程序 时间:
2020-01-16 01:11:16
阅读次数:
113