Laravel Dusk: The correct localhost port for APP_URL on a remote server? -


i trying install dusk on laravel @ remote host , @ point need change .env file this

app_url=http://localhost:8000 

another tutorial suggested

app_url=http://localhost:9515 

for remote host, need put "http://localhost:????" , if need how find port number? not leave "/"?

by way, have tested several options , non have worked far not sure causes trying pint point problem.

set app_url same url using in browser local development environment. can http://localhost custom url:

app_url=http://dusk.local 

for laravel homestead can manage sites within homestead.yaml file.

the app_url somehow important commands terminal require information pointed out in detail in this answer.

the port 9515 default port number of selenium server url provided in dusktestcase.php. there's no need change @ beginning should work out of box.

by default, ports forwarded homestead environment.


Comments

  1. Get custom Laravel development services from a leading Laravel Development Company based in India & USA to build modern and robust solutions. Contact us for Information for Pricing: +91-9806724185 or Contact@expresstechsoftwares.com

    ReplyDelete

Post a Comment

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -