Linux 网络编程
error log: unable to bind: Address already in use
解决方法:
1.Check the port CUPS is listening (/etc/services).
检查服务配置文件
2.Check who is using that port using
检查服务配置文件
2.Check who is using that port using
检查端口号是否被占用
方法:
1.
lsof -i:[PORT]
2.
netstat -na |grep LISTEN|grep [PORT]
3.Move that app to a different port if it is using cups port.
3.Move that app to a different port if it is using cups port.
修改端口号