update README.md

This commit is contained in:
jipengfei-jpf
2023-07-02 20:28:48 +08:00
parent 34caf272e3
commit 43a5039638

View File

@ -99,6 +99,8 @@ public class Chat2DBContext {
String host = connectInfo.getHost();
String port = connectInfo.getPort() + "";
try {
ssh.setRHost(host);
ssh.setRPort(port);
session = getSession(ssh);
if (session != null) {
url = url.replace(host, "127.0.0.1").replace(port, ssh.getLocalPort());