I’ve download a jekyll theme on github which is called jekyll-theme-mdui and run it on my localhost, then I close the serve and the computer, after a while, I opened my computer to surprisingly find the theme is still running on 127.0.0.1:4000 without start the jekyll serve! Here comes the problem, I can’t even shut down the serve because I don’t know what is hosting the theme, even delete the whole folder didn’t work. Does anyone can help me to close the 127.0.0.1:4000?? I’m so desperate!
I can still browse web pages on 127.0.0.1:4000 while I terminated all the command lines. This happened even if restart the computer. And if I try to terminate process with the PID, it will shows like that:
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
tianyidexiaobenben:~ aitianyi$ kill -9 $(ps aux | grep ‘[j]ekyll’ | awk ‘{print $2}’)
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
tianyidexiaobenben:~ aitianyi$ kill -9 $(ps aux | grep ‘jekyll’ | awk ‘{print $2}’)
-bash: kill: (1093) - No such process
tianyidexiaobenben:~ aitianyi$ kill -9 $(ps aux | grep ‘jekyll’ | awk ‘{print $2}’)
-bash: kill: (1097) - No such process
tianyidexiaobenben:~ aitianyi$ kill -9 $(ps aux | grep ‘jekyll’ | awk ‘{print $2}’)
-bash: kill: (1113) - No such process
the process seems to change the PID every time I try to search it. And there is no way to kill it…
I still can see the f**king site occupied on 127.0.0.1:4000