# How to edit host file for google calendar on node red

**URL:** https://discourse.nodered.org/t/how-to-edit-host-file-for-google-calendar-on-node-red/64785
**Category:** General
**Created:** [7 July 2022 05:04 UTC](https://discourse.nodered.org/t/how-to-edit-host-file-for-google-calendar-on-node-red/64785 "2022-07-07T05:04:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TimC1986](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/timc1986/32/63085_2.png) [@TimC1986](https://discourse.nodered.org/u/TimC1986)
#### Post date: [7 July 2022 05:04 UTC](https://discourse.nodered.org/t/how-to-edit-host-file-for-google-calendar-on-node-red/64785/1 "2022-07-07T05:04:43Z")

</div>

Hello

I'm running node red on a cerbo gx (running on Venus OS) device and I'm trying to setup a google calendar node. At the moment I have everything configured in the google cloud (created app, enabled API, got the credentials) but 1 last thing I have to do is " You will need to edit your [hosts file](http://en.wikipedia.org/wiki/Hosts_(file)) and add an entry for [node-red.example.com](http://node-red.example.com) that points to 192.168.1.139"  
Now is the question, how do I do this correctly?

Thanks in advance 😉

 ![host file](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/8/a804aa40515b709510a7c2d70c906fcc83534ceb.png)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [7 July 2022 08:02 UTC](https://discourse.nodered.org/t/how-to-edit-host-file-for-google-calendar-on-node-red/64785/2 "2022-07-07T08:02:06Z")

</div>

That isn't a node-red question, but taken at face value then you need to edit the file `\etc\hosts` and add a line containing  
`192.168.1.139 node-red.example.com`

---

<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: [5 September 2022 08:02 UTC](https://discourse.nodered.org/t/how-to-edit-host-file-for-google-calendar-on-node-red/64785/3 "2022-09-05T08:02:57Z")

</div>

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