After further tests and after having documented myself again, I am able to provide more information; the previous ones are replaced by these.
I have a web microsite that resides on a Raspberry connected in the local ethernet network to a modem / router.
The site is visible all over the world (!) As its DNS relies on the ddns.net service.
The URL of the site is therefore http://NomeSito.ddns.net
The code on the index.html page has (summarize):
Code: Select all
FIRST LINE <BR>
<a href="http://192.168.1.2:51042"> LIVE VIDEO </a> <BR>
THIRD LINE <BR>
Using the Raspberry in the local network, both with the Chromium and Epiphany browsers, they are able to view the home page of the micro site.
By clicking on the above link I can see the live video produced by an app that resides on a smartphone, also connected to the local network via wifi. This smartphone does not have a SIM, however it is not necessary.
The same thing happens with a PC, connected via ethernet to the same local network.
Through the internet (with another smartphone) I see the page like this:
By clicking on the "LIVE VIDEO" link, however, I can't see the video.
I specify that I opened (I believe) the 51042 port on the Raspberry.
Despite numerous tests I was unable to watch the video with the second smartphone (through the internet).
Where am I wrong? In the HTML code, in some port to open (perhaps in the modem / router) or what else?
Thanks for the attention