When ever I run the server, it disconnects my internet. [ Only when I have the ports forwarded ]
Buying a server may be an option. This will most definitely stop you from being disconnected from the internet when it’s online in another place elsewhere from your current computer.
Are you forwarding your ports correctly?