摘要: 1,服务器可ping通2,服务器抓本地的http请求包,可以抓到3,本地抓服务器返回的http响应包,抓不到经过查找,是由于开启了Linux防火墙查看防火墙配置(需要root权限)[root@localhost ~]# service iptables statusRedirecting to /bin/systemctl status iptables.serviceiptables.service - IPv4 firewall with iptables Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabl... 阅读全文
posted @ 2014-01-06 23:20 心意合一 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 在使用JDBC查询数据库报了这么一个错误CREATE TABLE `d_user` ( `id` int(10) NOT NULL, `name` varchar(10) DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=gb2312;insert into d_user values(1,'sean');public class Test { public static void main(String[] args){ Connection conn = null; Statement stat 阅读全文
posted @ 2014-01-06 23:18 心意合一 阅读(4342) 评论(0) 推荐(1) 编辑