Maybe a stupid question with an obvious answer, but I don't know a solution. I am new to the command line, especially Apple and iTerm2.
In iTerm2, I open a new session for my PHP project using php -S localhost:port
Now I accidentally closed this tab once, and now I donβt know how to end this session. When I want to open another project on this port ( 8000 ), it says, of course, Failed to listen on 127.0.0.1:8000 (reason: Address already in use)
Can someone help me on how to end this session, so I can start another project on this port instead of using 8001, 8002, 8003, etc.
Thanks in advance
source share