Linux下简单好用的工具rinetd,实现端口映射/转发/重定向
官网地址http://www.boutell.com/rinetd
软件下载
wget http://www.boutell.com/rinetd/http/rinetd.tar.gz
解压安装
tar zxvf rinetd.tar.gz
make
make install
编辑配置
vi /etc/rinetd.conf
0.0.0.0 8080 172.19.94.3 8080
0.0.0
这是因为你在安装MySQL的某一步中勾选了“Add firewall exception for this port”,但是你服务器的Windows的防火墙又没有开启,所以会有这个提示,一般情况下点击OK就好了,不会产生什么系统错误。Windows server 2003 正版系统默认是没有开启Windows防火墙的,某些原版盗版也是没有开启的,不建议大家使用各种美化、修改过的Windows server 类系统。毕竟这是服务器。
一个实现java.io.Closeable Clojure映射。
安装
TL; DR示例
; ; in your project
( defn start
" Return an running context with stateful references which can be closed. "
[config]
( assoc config
:server ( http/start-server ( api context) { :port 3030 })