# Setting up/Configuring Node Red to connect to Raspberry pi 4 via ethernet cable on a mac

**URL:** <https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912>\
**Category:** General\
**Created:** [11 July 2020 19:36 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912 "2020-07-11T19:36:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rey272](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@Rey272](https://discourse.nodered.org/u/Rey272)\
**Post date:** [11 July 2020 19:36 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/1 "2020-07-11T19:36:53Z")

</div>

Hello, I am working on a school project in which I would like to use Node Red and its editor to configure operation of a tv settings which will be connected to a Raspberry pi 4 model. I recently downloaded and installed the most recent raspberry pi software to my Mac and believed I formatted the sd card correctly. I am having issues with the next step of connecting with the ssh terminal on my Mac to gain access to the node red browser editor so I can proceed with setting up my flows and etc. I tried following the steps on the forum and other sites but I am having difficulties. Can someone plz assist! ?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 July 2020 20:15 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/2 "2020-07-11T20:15:09Z")

</div>

So i'm a litle confused. You say

> I recently downloaded and installed the most recent raspberry pi software to my Mac

Do you mean you downloaded the latest raspbian image to your mac and then flashed an SD card with it? Was it the 'Lite' version or the full version?  
Assuming so, you have now put it into your Pi and powred it up. In order to SSH into the Pi, you need to know the IP address of the Pi. You need to attach a monitor and keyboard to the Pi and if it was the lite version, login and then enter `ifconfig` to see the IP address. If it is the desktop version, tehn you can open a terminal window and issue the command there.

Once you have the IP address, bak at the mac, you can ssh into the P using that address.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [11 July 2020 20:26 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/3 "2020-07-11T20:26:12Z")

</div>

> [@Rey272](#):
>
> I am having issues with the next step of connecting with the ssh terminal on my Mac to gain access to the node red browser editor so I can proceed with setting up my flows and etc.

You do not connect to node red with ssh. You connect by pointing your browser to the IP address of the machine running node red using port 1880 like this for example:  
192.168.1.12:1880  
192.168.1.12 is the IP address of the machine running node red.

---

<div class="post-metadata">

**Author:** ![Rey272](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@Rey272](https://discourse.nodered.org/u/Rey272)\
**Post date:** [11 July 2020 21:09 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/4 "2020-07-11T21:09:19Z")

</div>

Hi, thank you for your feedback. So I downloaded the full version and it is flashed with a card. I know the IP address from using my ip scanner app but when I type it into the terminal. It leaves me with this error message, “connect to host, the ip address port 22: Connection refused

---

<div class="post-metadata">

**Author:** ![Rey272](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@Rey272](https://discourse.nodered.org/u/Rey272)\
**Post date:** [11 July 2020 21:25 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/5 "2020-07-11T21:25:05Z")

</div>

Hi, thank you for replying. To provide you with more background info. I downloaded the full version and flawed it with the ads card which is now in my Raspberry pi. I was able to see the IP address and went I point it to the browser. A “safari can’t connect to the server” message comes up. Not sure what else to do.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 July 2020 21:34 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/6 "2020-07-11T21:34:04Z")

</div>

by default ssh on a new Pi is disabled but can be turned on by adding a file called ssh to the root directory of the sd card - you then need to run `sudo raspi-config` to turn it on permanently - see

> **[How to Enable SSH on Raspberry Pi](https://linuxize.com/post/how-to-enable-ssh-on-raspberry-pi/)**
>
> In the recent versions of Raspbian the SSH access is disabled by default but it can be easily enabled. In this tutorial, we'll show you how to enable SSH on a Raspberry Pi board.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 September 2020 00:16 UTC](https://discourse.nodered.org/t/setting-up-configuring-node-red-to-connect-to-raspberry-pi-4-via-ethernet-cable-on-a-mac/29912/8 "2020-09-10T00:16:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
