“Jumpserver基础”的版本间的差异
跳到导航
跳到搜索
第26行: | 第26行: | ||
sftp -P 大写的P 不是小写的p | sftp -P 大写的P 不是小写的p | ||
+ | =troubleshooting= | ||
+ | ==koko== | ||
+ | <pre> | ||
+ | Connecting to 1.231.144.243:2222... | ||
+ | Could not connect to '1.231.144.243' (port 2222): Connection failed. | ||
+ | |||
+ | 可见 不太正常 我在海外也 telnet 2222 不通 restart 搞定 | ||
+ | [root@ntos ~]# telnet 127.0.0.1 2222 | ||
+ | Trying 127.0.0.1... | ||
+ | Connected to 127.0.0.1. | ||
+ | Escape character is '^]'. | ||
+ | Connection closed by foreign host. | ||
+ | [roottos ~]# docker ps | ||
+ | CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | ||
+ | f235b4dae318 jumpserver/jms_coco:1.4.9 "entrypoint.sh" 10 days ago Up 10 days 0.0.0.0:2222->2222/tcp, 0.0.0.0:5000->5000/tcp jms_coco | ||
+ | #重启这个 docker 容器正常了 | ||
+ | [root@tos ~]# docker restart f235b4dae318 | ||
+ | </pre> | ||
=see also= | =see also= | ||
[https://blog.csdn.net/wanglei_storage/article/details/51002206 jumpserver 堡垒机配置使用图文详解] | [https://blog.csdn.net/wanglei_storage/article/details/51002206 jumpserver 堡垒机配置使用图文详解] |
2020年1月22日 (三) 06:01的版本
install
端口
Jumpserver 默认 Web 端口为 8080/tcp, 默认 WS 端口为 8070/tcp, 配置文件 jumpserver/config.yml koko 默认 SSH 端口为 2222/tcp, 默认 Web Terminal 端口为 5000/tcp 配置文件在 koko/config.yml Guacamole 默认端口为 8081/tcp, 配置文件 /config/tomcat9/conf/server.xml Nginx 默认端口为 80/tcp Redis 默认端口为 6379/tcp Mysql 默认端口为 3306/tcp
ssh
ssh -p2222
sftp
sftp -P 大写的P 不是小写的p
troubleshooting
koko
Connecting to 1.231.144.243:2222... Could not connect to '1.231.144.243' (port 2222): Connection failed. 可见 不太正常 我在海外也 telnet 2222 不通 restart 搞定 [root@ntos ~]# telnet 127.0.0.1 2222 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Connection closed by foreign host. [roottos ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f235b4dae318 jumpserver/jms_coco:1.4.9 "entrypoint.sh" 10 days ago Up 10 days 0.0.0.0:2222->2222/tcp, 0.0.0.0:5000->5000/tcp jms_coco #重启这个 docker 容器正常了 [root@tos ~]# docker restart f235b4dae318