1. 程式人生 > >Cobbler安裝CentOS7系統時報錯 curl:(7)Failed connect to 10.0.0.201:80;Connection refused

Cobbler安裝CentOS7系統時報錯 curl:(7)Failed connect to 10.0.0.201:80;Connection refused

問題原因:

  其他涉及到http服務的埠全部都改成了81埠。只有 /etc/cobbler/settings 這裡沒有改。

[[email protected]01 ~/]#grep -E "port: 81|server: 10" /etc/cobbler/settings  
  http_port: 80
  next_server: 10.0.0.201
  server: 10.0.0.201

http_port: 80 改成81

 

再重啟cobbler、 cobbler sync就可以了