Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access http server within Pipelines.

mycall1234 December 11, 2017

I am setting up a project in Bitbucket to use Pipelines. It is a PHP project that produces HTML so I should be able to hit 'http://localhost/src/home.php' and get a response. But when I do this from within Pipelines, I get 'Failed to connect to localhost port 80: Connection refused'. I am using the image named 'php:5.6-apache'. Any help is greatly appreciated.

1 answer

0 votes
markustiefenbacher January 28, 2020

did you find a solution? I have the same issue...

Sasa Jovanovic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2020

Try to use IP instead of the localhost.

http://127.0.0.1/src/home.php

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events