I have a following network setup:
___________> [Remote IP] * can access anything from 192.168.1.2.
| * it has a public static ip to access as 8x.8x.2xx.1x
|
^
[WAN]
|
[Router]
|
|---[LAN]
|
[HTTP WEB SERVER]@192.168.1.2
|
|
--------------------------------------------------- (LAN)
| | |
[PC1] [PC2] [PC3]
| | |
192.168.1.3 192.168.1.4 192.168.1.5
Case example:
[OK ]: PC1, PC2 has image available form 192.168.1.3:7007/picture1.jpeg and 192.168.1.4:7007/picture1.jpeg
[OK ]: PC3 if i open the site from 192.168.1.2 i can see picture1 and picture2. As my HTML code is:
<img src="http://192.168.1.3:7007/picture1.jpeg?1323809545000?1323809546000?1323809547000" class="monitor_realtime" />
<img src="http://192.168.1.4:7007/picture1.jpeg?1323809545000?1323809546000?1323809547000" class="monitor_realtime" />
[NOT OK]: But if i now remotely from public location open the page i can not see the pictures.
How can i see pictures when i am opening it remotely (local browsing works)?
Are you saying that PC1 and PC2 also both have a Web server running on port 7007? If so, presumably the router does not forward requests to those Web servers. If you plan to access content hosted on a LAN, then the router must know to forward those requests to the relevant server.
EDIT: Based on context provided in your comment to m4tt1mus’ answer, you’d need to go with the second option. You could set up the router to forward port 81 to port 7007 of PC1 and port 82 to port 7007 of PC2.