How to run Laravel?

php
laravel

#1

I’ve been trying to use Laravel, I followed Getting Started with Laravel but I can’t manage to run my application with

php artisan serve --port=8080

It just says “No application seems to be running here!”

My .env file is as follows

APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:KenGenIW5ufqQCR5PIkTyNi+Govf5S/wUIHnzD1DTl0=
APP_URL=https://localhost

DB_HOST=localhost
DB_DATABASE=c9
DB_USERNAME=USERNAME
DB_PASSWORD=

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

#2

Still looking for help please.


#3

hey man

DB_HOST=localhost
DB_DATABASE=c9
DB_USERNAME=_________<=== here
DB_PASSWORD=

you need to add your username


#4

port 8000 is not working. you can use port 8081

php artisan serve --host 0.0.0.0 --port 8081