We have got a SLES 12 SP4 Operating system server. What we are looking for is the following

1. How to configure the server such that it can connect to the SLES software repositories

2. what are the ports we need to open

3. Is there any other steps we need to follow