Skip to content

Instantly share code, notes, and snippets.

@edwardlorilla
Created April 22, 2017 06:39
Show Gist options
  • Save edwardlorilla/488e0e0cbe6c0ce3a07742709c47613c to your computer and use it in GitHub Desktop.
Save edwardlorilla/488e0e0cbe6c0ce3a07742709c47613c to your computer and use it in GitHub Desktop.
for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b
set ip=%ip:~1%
php artisan serve --host %ip%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment