- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 连接云主机redis报错: telnet: connect to address 1xx.xx.xx.xx: No route to host
1、问题 之前一直运行良好的程序,最近发现连不上云主机的redis,telnet试一下: 报错: telnet: connect to address 1xx.xx.xx.xx: No route to host 2、排查 1) 首先查看redis.conf配置, 检查以下几项都没问题: daemonize设置为yes; 注释掉#bind 127.0.0.1 关闭保护模式:protected-mode no 2) 再检查云主机端口是否放行, 也没问题: 3) 查看redis进程和端.
2021-03-11 10:12:30 356
原创 SharedPreferences保存二维码扫描的网址信息到本地
保存: SharedPreferences sharedPref = getSharedPreferences("remember", Context.MODE_PRIVATE); Editor editor = sharedPref.edit(); editor.putString("url", resultString); editor.commit();
2014-08-22 11:12:37 615
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人