大半夜的在搞weblgoic12 使用apche转发接口:拒绝访问
general list: trying connect to '127.0.0.1'/8001/8001 at line 2384 for '/api/LoginService'
2017-12-03T22:08:29.9492+08:00 <815515123100992> *******Exception type [CONNECTION_REFUSED] (apr_socket_connect call failed with error=111, host=127.0.0.1, port=8001 )
百度各种查询:
setsebool -P httpd_can_network_connect 1 解决selinux 的访问问题,但是我没有开selinux
最后发现是在进行建立server时 ,只制定了一个ip ,代理访问设置为另外一个ip