在eclipse使用maven deploy (tomcat:deploy) 热部署netty项目 ,项目启动的时候会报错端口被占用. java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:444) at sun.nio.ch.Net.bind(Net.java:436) at sun.nio.ch.ServerSo
grails中默认的服务端口为,当本机中需要同时启动两个不同的项目时,就会造成端口冲突,比如启动第二个服务时就会报如下的错误: Server failed to start for port 8080: Address already in use: JVM_Bind (Use --stacktrace to see the full trace) 要解决这个错误,就需要为这个应用定义一个不同的端口就可以. 具体方法如下: 修改BuildConfig.groovy文件: grails.serve
状况描述: 服务器端采用的Windows 2008系统,安装了FileZilla Server,客户端采用的FileZilla Client,客户端在连接服务器端的时候,可以正常通过验证,但是在列出目录的时候一直提示“425 Can't open data connection for transfer of "/"”.服务器的防火墙上已经开放了FTP使用的20和21端口. 解决办法: 在425提示的上一条提示:“227 Entering Passive Mode”,服务器端进入了被动
问题:org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.解决办法:Edit /var/lib/pgsql/data/postgresql.conf fileChange#listen_addresses = 'localhost'to l