This might sound silly but do you have a reserved IP for your PC or does it grab the next available one? If it worked before for a bit it leads me to believe you set up port forwarding to the PC IP address. The PC then disconnected or got turned off and another device grabbed that IP address. So port forwarding is now set to the other device. Make sure you’re defining the IP for your PC on your router so this doesn’t happen.
Enabling upnp is another option that should work as well.
This might sound silly but do you have a reserved IP for your PC or does it grab the next available one? If it worked before for a bit it leads me to believe you set up port forwarding to the PC IP address. The PC then disconnected or got turned off and another device grabbed that IP address. So port forwarding is now set to the other device. Make sure you’re defining the IP for your PC on your router so this doesn’t happen.
Enabling upnp is another option that should work as well.