I have a dedicated server that i used to be able to connect via remote desktop connection. However, I was trying to add a port number to be enabled and I beleive I accidentally shut down all ports.
I did that via control panel-> network connections -> properties of the connection there(Internet Connection (TCP/IP), then clicked on advanced and then under options tab, i clicked properties.
I selected permit only under tcp ports and added in port number. then rebooted the system.
so after that the web application that is on the server is not accessible and cant connect to it via remote connect.
however, I am able to connect to the server through sth called the serial console.
using the following code:
it shows that port 80, 3389 as closed.
I have disabled the firewall and the ipsec service
so my question is how can i enable the ports via command line as thats the only way to connect to the server now, or what can be done to help establish connection again with the server.
thanks in advance.