Well, I’m back again. Maybe I really should say hello to everyone and introduce myself. I’ll do it later. Now let’s talk about the problems I encountered.
Actually, I want to restructure my own private project and let the whole project structure clearer and more standardized. But when I run the server, it will prompt the following error
Blockquote
OSError: [Errno 99] error while attempting to bind on address (‘xxx.xxx.xxx.xxx’, 8000): cannot assign requested address
After that, I tried to use the simple example of sanic documentation Get Started again, but this time no error was reported
Finally, I tried Gino’s sanic example again, and it reported the same Error
I guess this error is caused by the database connection, because the database connection operation was not carried out the second time.
I just set ssh pubkey yesterday because I want to use windows terminal to connect to the remote server.
I thought it was this problem, so I deleted ssh pubkey today, but the problem still exists. What can I do next to solve this problem?