Delete File on Port

Hi
I want to delete the file previously saved on a particular port. When I try to run another file, it says the port is already in used or it displays the file present the old saved file.
Is there any way I can fix this?

Thank You

Hey @akshat,

Thanks for sharing this question!

Can you clarify what you mean by “saved on a particular port”?

I have hosted my streamlit alongside a main architecture which is completed in PHP. I have hosted it using XAMPP Apache. When I run the file for the first time, the main site keeps loading. I have to stop Apache and restart it to make it work. But next time, when I use different values as input, the output doesn’t change. The file displays old values itself. I am passing the values from PHP which are fetched from PHP sessions but the values don’t get updated in the streamlit file