那就只修改客户端的ip 把主ip换成服务器允许的ip
解决方案 »
- Struts2.1上传文件遇到的问题
- 求SSH中文API
- 请教java邮件服务器怎么搭建,用户订阅超过2w或者更多如何实现
- sitemesh问题
- 求教Tomcat6.x 不定时当机的问题
- 加载web.xml文件出错
- jboss服务器报错
- DOS下运行 j2ee -verbose 提示:'j2ee' 不是内部或外部命令,也不是可运行的程序.我的环境变量设置也不行.
- struts的<logic:iterate id="employee" name="employees">找不着employees的问题
- 在WEBLOGIC7部署EAR文件的问题
- jsp页面如何把一个bean传到action里(struts)?
- 一个英语问题哈
int localPort)
* Creates a socket and connects it to the specified remote address on
* the specified remote port. The Socket will also bind() to the local
* address and port supplied.
* <p>
* If there is a security manager, its
* <code>checkConnect</code> method is called
* with the host address and <code>port</code>
* as its arguments. This could result in a SecurityException.
*
* @param address the remote address
* @param port the remote port
* @param localAddr the local address the socket is bound to
* @param localPort the local port the socket is bound to
* @exception IOException if an I/O error occurs when creating the socket.
* @exception SecurityException if a security manager exists and its
* <code>checkConnect</code> method doesn't allow the operation.
* @see SecurityManager#checkConnect
* @since JDK1.1
*/
public Socket(InetAddress address, int port, InetAddress localAddr,
int localPort) throws IOException {
this(address != null ? new InetSocketAddress(address, port) : null,
new InetSocketAddress(localAddr, localPort), true);
}