I am making an application using Eel for python, and it currently is a page with a button that opens up a second page. The first page is using port 8000, and when I open the second page I receive a message due to 8000 being in use. I have copied the message below.
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted: ('localhost', 8000)
I have gotten this message to disappear by changing the port of the second window to 8001. Is this a preferable fix? I plan on having more than 2 windows eventually, so each window would use a different port. I have found similar issues that are fixed by changing the socket option "SO_REUSEADD", but I am not sure how to do this using eel, is it possible? What would be the best way to handle this, could I just ignore it?