我有一个简单的任务要在本地concourse实例上执行:
build-frontend.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: node
tag: 'latest'
inputs:
- name: client-devops
run:
path: client-devops/scripts/test任务执行如下:
client-devops daka$ fly -t frontend execute --config build-frontend.yml
executing build 1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused
gzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable: exiting now
exit status 2目标如下:
client-devops daka$ fly targets
name url expiry
frontend http://127.0.0.1:8080 Fri, 11 Nov 2016 09:13:55 UTC为什么它说不能连接到本地主机,我可以从我的浏览器连接到UI?
发布于 2016-11-10 18:10:10
您的外部URL不能配置为localhost或127.0.0.1 -它必须可由其他机器访问。
https://stackoverflow.com/questions/40524004
复制相似问题