I have identified a way to perform port enumeration of the compiling server by utlizing ports and inspecting the message returned and looking for a specific string which indiciates the port is in use.
I found this on accident but decided to just post this here.
Paste the code in programiz's C compiler