remote connect two raspi's remote connect two raspi'...

Topic: remote connect two raspi's

Post remote connect two raspi's
by smoodypi on vendredi 23 mars 2018

I am able to access the first raspberry pi listed below through the Linux Remote Desktop Viewer:

MAC Address b8:27:eb:fb:97:4f
IPv4 Address / Name / raspberrypi
. . . . . . . . . .
I have tried to access "raspi2" below using However, it does not work. It takes me to the same computer as

MAC Address b8:27:eb:15:68:af
IPv4 Address / Name / raspi2
. . . . . . . . .
Both raspi's are at one IPv4 address.
Should the address be followed by a ":" and another number to distinguish between the two machines?
I am stuck until I know more.

Reply with quote | Report
Post Re: remote connect two raspi's
by grahamxpromz on dimanche 8 avril 2018

As you don't say how you are accessing them (SSH, HTTP etc) I'll take a guess that whatever protocol, you are port forwarding and unless you have setup two different ports (i.e. one non standard at least) your router/Firewall will also send the inbound connection to the public IP address to the same Pi.
You will need two different port forwards and too some extend it doesn't matter which domain name you use, as they probably both resolve to the same public IP address anyway :-)

Reply with quote | Report
Post Re: remote connect two raspi's
by FreddyF on jeudi 10 mai 2018

I was having the same problem, I don't know if this is the right way but it works for me:
First I set up the port forward for each pi:
pi1 external 80 pointing to internal 80
pi2 external 8022 pointing to internal 88

then created an alias for my first pi: and for pi2 I created a redirect: hostname destination http://my.ip.adress:8022 and now it works fine.
Hope that helps

Reply with quote | Report
mercredi 12 juin 2024 12:21