摘要: 小例子:http://soft.yesky.com/238/2035738.shtml 服务器程序: 客户端程序: 服务器 客户端 端口查看: Linux 版本 在虚拟中的Ubuntu中测试tcp server和tcp client 总是会有conection refused的问题(即使把所有的防火 阅读全文
posted @ 2015-05-04 20:13 sunnycs 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 防火墙相关:关闭防火墙:ufw disable开启防火墙:ufw enable更详细的ufw功能用法见:ufw -h其他linux平台下的一些(但是ubuntu下不好用):查看防火墙状态: /etc/init.d/iptables status暂时关闭防火墙: ... 阅读全文
posted @ 2015-05-04 20:00 sunnycs 阅读(232) 评论(0) 推荐(0) 编辑