Restoring gateway's backup

Hello community,
I have installed a new instance (ignition-8.1.37-windows-64-installer) on my machine in order to load a customer's backup.
During the installation of this new instance, I configured a different gateway port: 8081

After restoring the gateway backup, how do I check which port is configured?
how can I change it back to 8081 through windows-console?

Problem solved. Not sure what happened but this time I restored the gateway by turning off my other instance and nothing got corrupted (couldn't browse the gateway at all even though it said that the gateway was running).
Gladly, the restoration did not change the port number and a way to know where its running is by the following command: "gwcmd -i".

Thank you