为什么用xshell连接云主机的时候显示
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Connection closed by foreign host.
Disconnected from remote host(新建会话 (2)) at 20:26:39.
我正在创建一个客户机/服务器应用程序,其中我的服务器和客户机可以在同一台机器上,也可以在不同的机器上,但都在ISP下。
我的RMI程序:
-Remote接口:-
//Calculator.java
public interface Calculator
extends java.rmi.Remote {
public long add(long a, long b)
throws java.rmi.RemoteException;
public long sub(long a, long b)
throws java.rmi.RemoteExceptio
当我运行命令时,我得到了连接到服务器的详细信息。下面是我的MySQL服务器的连接细节,
mysql> show processlist;
+------+-----------------+----------------------+-------------+---------+----------+------------------------+------------------+
| Id | User | Host | db | Command | Time | State