0

I ran the simple python3 ftp server (python3 -m http.server 8000) on a Raspberry Pi 3B, running PiOS Buster. Worked just fine. Terminating python3 with CTRL-Z left a process in control of port 8000, which would not let me re-start the server. After discovering the process id using sudo ps a, I had to use kill -9 to terminate the process.

I had expected that terminating python3 would release the port. What am I missing?

  • 1
    `CTRL-Z` is suspending the process to background. You can bring it back by `fg` command. Terminate it with `CTRL-C`. – Eugene Sh. Mar 02 '23 at 15:07

0 Answers0