I installed valet-linux in kubuntu 18.04 and followed the documentation. I also changed the path to make valet command works. I also added the directory of my projects which is located in another partition using valet park and change its port to 8888 so it won't have conflict with apache which listens to port 80.
But when I run my-laravel-project.test it shows the Apache2 Ubuntu Default Page not my laravel project page which when I tested it using php artisan serve, it is working. Thanks!
service apache2 stop
the problem persisted. I had to go to the XAMPP GUI and stop Apache from there. After that, then I was able toservice nginx start
successfully. Problem solved. – Granuloma