鍍金池/ 問答/Java  Linux  網(wǎng)絡(luò)安全  HTML/ gitlab 10.8.3 設(shè)置webhook提示Requests to loc

gitlab 10.8.3 設(shè)置webhook提示Requests to localhost are not allowed

gitlab 10.8.3 設(shè)置webhook,點(diǎn)擊“Test”出現(xiàn)下列提示:

Hook execution failed: URL 'http://192.168.20.202:8082/project/myproject' is blocked: Requests to localhost are not allowed

gitlab deploy keys中有添加了id_rsa.pub 公鑰

jenkins中也有添加了id_rsa 私鑰和gitlab API token

回答
編輯回答
久舊酒

這個(gè)報(bào)錯(cuò)的意思是不允許在本機(jī)進(jìn)行傳輸,只需要在gitlab里做如下操作就行。

clipboard.png

2018年6月1日 21:55