Access My Media from a device on the internet / outside your network
Posted: Tue Dec 18, 2018 7:47 am
By default, My Media only allows devices on your local network access to stream your media. This means your Alexa device must be on the same network as the computer running the My Media server app.
However, advanced users can configure My Media to accept requests from the internet. For example, you could use a mobile phone running the Alexa app to stream your media whilst you are in the car!
There are two ways of doing this.
Option 1. Firewall / NAT Mode
My Media streams media on TCP port 52050. To allow Alexa devices outside your network to connect back to your server, you will need to open port 52050 on your internet connected modem/router and set up a port forwarding rule from your internet IP (from TCP 52050) to the IP address of the computer running My Media (to TCP port 52050). Note you should also configure a static IP address for the computer running My Media, otherwise the port forwarding rule you set up will stop working if your computer changes IP.
You also need to enable remote access within the My Media web interface by choosing the 'Enable via Firewall NAT' option in the 'Enable access outside of local network' setting. This is available on the Settings tab of the My Media web console:
In this mode, when you request media from an internet connected Alexa device, it will connect directly over the internet to your server and stream the media.
Option 2. Push Mode
If you don't want to open your firewall up, you can alternatively use the 'Push' model. This mode is easier to set up, however, your media will be temporarily uploaded to our My Media cloud servers. In this mode, when you request media from an internet connected Alexa device, it is streamed from your server to our cloud servers, and then your Alexa devices will stream it from our servers. We will store the media temporarily for up to 24 hours before deleting it.
To configure this, you need to enable remote access within the My Media web interface by choosing the 'Enable via Push' option in the 'Enable access outside of local network' setting. This is available on the Settings tab of the My Media web console. No other firewall changes are necessary.
Access to the My Media web console remotely
You can optionally set up access to the My Media web console remotely. This is served on TCP port 52051 and would require a second TCP port forwarding rule (i.e. it's only available via a firewall NAT rule). If you do this, we STRONGLY advise setting up a password on the My Media web interface to avoid anonymous access to your server. You can do this in the Settings tab of the My Media web console. Once configured, you would access the My Media web console by using the url http://your_public_ip:52051 from the internet.
However, advanced users can configure My Media to accept requests from the internet. For example, you could use a mobile phone running the Alexa app to stream your media whilst you are in the car!
There are two ways of doing this.
Option 1. Firewall / NAT Mode
My Media streams media on TCP port 52050. To allow Alexa devices outside your network to connect back to your server, you will need to open port 52050 on your internet connected modem/router and set up a port forwarding rule from your internet IP (from TCP 52050) to the IP address of the computer running My Media (to TCP port 52050). Note you should also configure a static IP address for the computer running My Media, otherwise the port forwarding rule you set up will stop working if your computer changes IP.
You also need to enable remote access within the My Media web interface by choosing the 'Enable via Firewall NAT' option in the 'Enable access outside of local network' setting. This is available on the Settings tab of the My Media web console:
In this mode, when you request media from an internet connected Alexa device, it will connect directly over the internet to your server and stream the media.
Option 2. Push Mode
If you don't want to open your firewall up, you can alternatively use the 'Push' model. This mode is easier to set up, however, your media will be temporarily uploaded to our My Media cloud servers. In this mode, when you request media from an internet connected Alexa device, it is streamed from your server to our cloud servers, and then your Alexa devices will stream it from our servers. We will store the media temporarily for up to 24 hours before deleting it.
To configure this, you need to enable remote access within the My Media web interface by choosing the 'Enable via Push' option in the 'Enable access outside of local network' setting. This is available on the Settings tab of the My Media web console. No other firewall changes are necessary.
Access to the My Media web console remotely
You can optionally set up access to the My Media web console remotely. This is served on TCP port 52051 and would require a second TCP port forwarding rule (i.e. it's only available via a firewall NAT rule). If you do this, we STRONGLY advise setting up a password on the My Media web interface to avoid anonymous access to your server. You can do this in the Settings tab of the My Media web console. Once configured, you would access the My Media web console by using the url http://your_public_ip:52051 from the internet.