Jig*_*eth 7 apache mod-jk osx-mavericks
我刚刚和Mavericks一起更新了我的OSX,现在我在使用apache和Jetty时出错了.它曾经将我的example.com域直接映射到localhost.
现在看来,运行我的应用程序服务器我必须明确指定端口来命中我的服务器.(例如example.com:8080)
当我跑到命令之下时.
sudo apachectl -e debug
Run Code Online (Sandbox Code Playgroud)
我会得到的
[debug] mod_so.c(246): loaded module jk_module
(48)Address already in use: make_sock: could not bind to address [::]:80
(48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Run Code Online (Sandbox Code Playgroud)
我运行了很多diff命令来杀死所有httpd进程以及正在侦听此端口的端口.
ex. sudo lsof -i :80
httpd 946 root 5u IPv6 0xe0c8ad50898bcf0f 0t0 TCP *:http (LISTEN)
httpd 947 _www 5u IPv6 0xe0c8ad50898bcf0f 0t0 TCP *:http (LISTEN)
httpd 949 _www 5u IPv6 0xe0c8ad50898bcf0f 0t0 TCP *:http (LISTEN)
httpd 954 _www 5u IPv6 0xe0c8ad50898bcf0f 0t0 TCP *:http (LISTEN)
Google 1633 jignesh.sheth 59u IPv4 0xe0c8ad508597efaf 0t0 TCP example.com:53742->stackoverflow.com:http (ESTABLISHED)
Google 1633 jignesh.sheth 189u IPv4 0xe0c8ad5082027faf 0t0 TCP example.com:53725->stackoverflow.com:http (ESTABLISHED)
Run Code Online (Sandbox Code Playgroud)
知道我做错了什么吗?
| 归档时间: |
|
| 查看次数: |
25799 次 |
| 最近记录: |