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.
did you find a solution? I have the same issue...
Try to use IP instead of the localhost.
http://127.0.0.1/src/home.php
It looks like you're new here. Sign in or register to get started.