mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-25 08:04:41 +08:00
update README.md
This commit is contained in:
@ -99,6 +99,8 @@ public class Chat2DBContext {
|
|||||||
String host = connectInfo.getHost();
|
String host = connectInfo.getHost();
|
||||||
String port = connectInfo.getPort() + "";
|
String port = connectInfo.getPort() + "";
|
||||||
try {
|
try {
|
||||||
|
ssh.setRHost(host);
|
||||||
|
ssh.setRPort(port);
|
||||||
session = getSession(ssh);
|
session = getSession(ssh);
|
||||||
if (session != null) {
|
if (session != null) {
|
||||||
url = url.replace(host, "127.0.0.1").replace(port, ssh.getLocalPort());
|
url = url.replace(host, "127.0.0.1").replace(port, ssh.getLocalPort());
|
||||||
|
Reference in New Issue
Block a user