What do you mean by “ports not opening”? What does ampinstmgr ports show for the server when it is running? Have you port forwarded the instance’s ports on your router? What port is your friend trying to connect on?
Also post logs from the server when it is started? Right click on the instance, View Logs, select the relevant log file