I am trying to run codeception on my Laravel app. Using Homestead running on Vagrant VM. I made a simple acceptance test and get [GuzzleHttp\Exception\AdapterException] cURL error 7: Failed to connect to site.dev port 8000: Connection refused
All I've done is installed codeception and made a simple test. $I->amOnPage('/')
is the first step and that's where it fails.
Not sure what information is needed to debug this. I can connect to site.dev:8000 just fine.
my acceptance.suite.yml
class_name: AcceptanceTester
modules:
enabled:
- PhpBrowser
- AcceptanceHelper
config:
PhpBrowser:
url: 'http://site.dev:8000'
Had to remove the port from the url. Now it works just fine.