Why is command php artisan serve not working anymore?









up vote
0
down vote

favorite












I am new to laravel development and have been migrating my web app to laravel for the past two weeks but suddenly my local server has stopped responding.



localhost:8000 does not load any page, previously it loaded my app's home page. Now, it looks like it is in an infinite request loop or something as indicated by the circle on the top of the tab.



I've tried the following solutions but still no luck:



php -S localhost:8000 -t public/


as referred here Why command "php artisan serve" not working



I have also tried other ports but I cannot successfully make a request to the server on those ports either



php artisan serve --port=8888


I have also run the code below to see which ports are active and kill those ports with the command below but starting the server after that still does not respond.



 ps -ef | grep php
sudo kill some number


I think my issue is something deeper than switching the ports up because regardless of the port, I still do not get a server response.
However, if I whip up MAMP I do get a response from that server, if that helps.



Any thoughts?










share|improve this question





















  • Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
    – Biniyam Asnake
    Nov 10 at 20:08














up vote
0
down vote

favorite












I am new to laravel development and have been migrating my web app to laravel for the past two weeks but suddenly my local server has stopped responding.



localhost:8000 does not load any page, previously it loaded my app's home page. Now, it looks like it is in an infinite request loop or something as indicated by the circle on the top of the tab.



I've tried the following solutions but still no luck:



php -S localhost:8000 -t public/


as referred here Why command "php artisan serve" not working



I have also tried other ports but I cannot successfully make a request to the server on those ports either



php artisan serve --port=8888


I have also run the code below to see which ports are active and kill those ports with the command below but starting the server after that still does not respond.



 ps -ef | grep php
sudo kill some number


I think my issue is something deeper than switching the ports up because regardless of the port, I still do not get a server response.
However, if I whip up MAMP I do get a response from that server, if that helps.



Any thoughts?










share|improve this question





















  • Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
    – Biniyam Asnake
    Nov 10 at 20:08












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am new to laravel development and have been migrating my web app to laravel for the past two weeks but suddenly my local server has stopped responding.



localhost:8000 does not load any page, previously it loaded my app's home page. Now, it looks like it is in an infinite request loop or something as indicated by the circle on the top of the tab.



I've tried the following solutions but still no luck:



php -S localhost:8000 -t public/


as referred here Why command "php artisan serve" not working



I have also tried other ports but I cannot successfully make a request to the server on those ports either



php artisan serve --port=8888


I have also run the code below to see which ports are active and kill those ports with the command below but starting the server after that still does not respond.



 ps -ef | grep php
sudo kill some number


I think my issue is something deeper than switching the ports up because regardless of the port, I still do not get a server response.
However, if I whip up MAMP I do get a response from that server, if that helps.



Any thoughts?










share|improve this question













I am new to laravel development and have been migrating my web app to laravel for the past two weeks but suddenly my local server has stopped responding.



localhost:8000 does not load any page, previously it loaded my app's home page. Now, it looks like it is in an infinite request loop or something as indicated by the circle on the top of the tab.



I've tried the following solutions but still no luck:



php -S localhost:8000 -t public/


as referred here Why command "php artisan serve" not working



I have also tried other ports but I cannot successfully make a request to the server on those ports either



php artisan serve --port=8888


I have also run the code below to see which ports are active and kill those ports with the command below but starting the server after that still does not respond.



 ps -ef | grep php
sudo kill some number


I think my issue is something deeper than switching the ports up because regardless of the port, I still do not get a server response.
However, if I whip up MAMP I do get a response from that server, if that helps.



Any thoughts?







laravel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 16:57









Biniyam Asnake

255




255











  • Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
    – Biniyam Asnake
    Nov 10 at 20:08
















  • Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
    – Biniyam Asnake
    Nov 10 at 20:08















Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
– Biniyam Asnake
Nov 10 at 20:08




Update: restarted my computer and left my laptop for a few hours and it works now. Very odd behavior.
– Biniyam Asnake
Nov 10 at 20:08

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241257%2fwhy-is-command-php-artisan-serve-not-working-anymore%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241257%2fwhy-is-command-php-artisan-serve-not-working-anymore%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党