lando / drupal

The Official Drupal Lando plugin
https://docs.lando.dev/drupal
GNU General Public License v3.0
15 stars 16 forks source link

Need Help: how to access appserver from centos server ? #11

Closed suresh-kumara-gist closed 2 years ago

suresh-kumara-gist commented 2 years ago

I have installed lando v3.6.2 in Centos version 8. Running drupal 10 recipe.

name: my-first-drupal10-app
recipe: drupal10
config:
  webroot: .
 NAME            my-first-drupal10-app                        
 LOCATION        /home/suresh/projects/drupal10               
 SERVICES        appserver, database                          
 APPSERVER URLS  https://localhost:49282                      
                 http://localhost:49283                       
                 http://my-first-drupal10-app.lndo.site:8000/ 
                 https://my-first-drupal10-app.lndo.site/    

I want to access drupal instance http://localhost:49283 from my server ip address http://170.240.49.45:49283 but I couldn't access it in browser.

How to assign domain name to the http://localhost:49283 instance.

thank you.

suresh-kumara-gist commented 2 years ago

I am not sure is it a right way, I have solved it by adding bindAddress : 0.0.0.0 in ~/.lando/config.yml . Now I could access drupal instance http://localhost:49283/ from my server ip address http://170.240.49.45:49283

Kindly close this if my solution is right one. thank you