According to the official website, the Air Media Server application uses random ports. This setting can be configured in the Settings menu. You can define your custom port and check its local IP address. Copy that port and forward the port in your router for its IP. Make sure to enable both TCP and UDP. For more information, visit the official website.