Trouble with Docker

Hey I am trying to run a streamlit application and I have verified through my desktop that it does indeed work. But I am having some issues with it through my laptop. I am running everything through a docker container inside wsl for a research project and had no issues other than having to change the port on my desktop. I use the command streamlit run project.py --server.port=8888 since the ports I have are 8888, 6006, and a few others. I tried on my laptop the same command and even changing ports around to no success I just get stuck on a application took too long to run. So I tried to run a simple http server for another test using python -m http.server 8888 and have no success with that loading either. I was wondering if you had any suggestions as to fixes? Thank you.