I have this problem aswell with using wsl on Windows. i haven't really found a solution to this but instead of using 127.0.0.1:8000 you can use localhost:8000.
It still opens a new server for you on a new port but i dont know if this will give any problems later on.