websocket 与tcpserver连接问题
要查看系统防火墙有没有关闭 要关闭
a) 永久生效开启: chkconfig iptables on
关闭: chkconfig iptables off
b) 即时生效,重启后失效开启: service iptables start
关闭: service iptables stop
1. 1.首先查看防火墙状态:
2. service iptables status
3. 3.设置后重启:
4. reboot
Linux 技巧:让进程在后台可靠运行的几种方法https://www.ibm.com/developerworks/cn/linux/l-cn-nohup/
只需在要处理的命令前加上 nohup 即可,标准输出和标准错误缺省会被重定向到 nohup.out 文件中。一般我们可在结尾加上"&“来将命令同时放入后台运行,也可用”>filename 2>&1"来更改缺省的重定向文件名。
nohup 示例
[root@pvcent107 ~]# nohup ping www.ibm.com &
[1] 3059
nohup: appending output to `nohup.out'
[root@pvcent107 ~]# ps -ef |grep 3059
root 3059 984 0 21:06 pts/3 00:00:00 ping www.ibm.com
root 3067 984 0 21:06 pts/3 00:00:00 grep 3059
[root@pvcent107 ~]#
nodejs 服务器 崩溃 2种解决办法
http://blog.51yip.com/server/1597.html
wx.navigateTo和wx.redirectTo
wx.navigateTo和wx.redirectTo
不能跳转tabBar里的页面
注意:
wx.switchTab 可以