bigdessert, I like the idea of the script, but that is way over my head (I don’t trust me to roll it out right). However I did find a funky little workaround that may be of some benefit to us noobs.
Here is what I setup when I installed ScreenConnect 4.0?????.
Web - <add key="WebServerListenUri" value="http://+:80/" />
Relay - <add key="RelayListenUri" value="relay://0.0.0.0:443/" />
I installed 29 clients and changed my mind on what ports to use… This is where I wanted to go…
Web - <add key="WebServerListenUri" value="https://+:443/" />
Relay - <add key="RelayListenUri" value="relay://0.0.0.0:8041/" />
Can anyone spot the problems? I like a noob, not knowing the difficulties in changing the relay port, I used port 443. After calling SC and speaking with tech support, (Whom by the way are, US based and super friendly) pointed me at your script as the closest solution. Now, on to my funky workaround.
First, my server is behind a router and I’m using port forwards to access it from the outside world. Here are the rules to start.
Web portal
Server.Domain.com:80 forward to 192.168.111.111:80
Relay
Server.Domain.com:443 forward to 192.168.111.111:443
This will take down you relay server to a few minutes. As long as you are not using Screen Connect to manage your server, and you can go without it for 5 minutes, you should be fine.
1) Edit the web.config file to reflect the new relay port you desire (8041), and restart the Screen Connect servers. Remember to verify that your firewall has to new ports open and the old ports closed. This will take down your relay connection!
2) Change the internal relay port forward in your router, pointing it to the new relay port you desire. (Server.Domain.com:443 to 192.168.111.111:8041). Remember to leave the external port alone for the time being, just change the internal target port. Relay connections should be back up. See, that was fast and probably less than 5 min too.
3) Add a rule to your router for the new external port you are migrating to. (Server.Domain.com:8041 to 192.168.111.111:8041).
Recap: Both 443 and 8041 are ported to the internal port 8041 of your server which should be setup to use the new port.
4) Log in to your Screen Connect web portal, click “Host”, click “All Machines” click the check box to select all machines.
5) Right click and Reinstall. This will push out a new client to all machines with the new relay port settings.
6) Get a cup of coffee; evacuate the last cup, or both depending on your specific needs.
7) Remove the port forward in your router for the old relay port. (443)
Your relay port has now been changed.
I then walked through the modifications need to change my web port from 80 to 443 using the newly freed up port in my router.
With and luck this makes sense to anyone else with a similar issue.
Edited by user Monday, January 6, 2014 11:06:35 PM(UTC)
| Reason: Not specified