Search code examples
node.jsgoogle-apigoogle-oauthgoogle-calendar-api

What firewall and proxy settings are needed to be opened in order for google calendar api for nodejs to be working?


I have searches for internet, but I am not sure:

I am using google calendar api in NodeJS. I use only fetching calendars list and fetching all available events list for particular calendar. Security teem is asking me exact destinations in internet that are needed to be opened in order for google calendar api to be working.

What are these destinations?

P.S. If additional info are needed please, let me know.

Thank you


Solution

  • Assuming we are talking about FireWall settings or proxy settings. I think you should have a look at this page Drive and Sites firewall and proxy settings There used to be a better page but the last time i looked for it was probably fie years ago.

    This is the full list

    www.google.com:443/HTTPS
    accounts.google.com:443/HTTPS
    googledrive.com:443/HTTPS
    drive.google.com:443/HTTPS
    *.drive.google.com:443/HTTPS
    docs.google.com:443/HTTPS
    *.docs.google.com:443/HTTPS
    *.c.docs.google.com:443/HTTPS
    sheets.google.com:443/HTTPS
    slides.google.com:443/HTTPS
    talk.google.com:5222/XMPP (needed only for Backup and Sync)
    takeout.google.com:443/HTTPS
    gg.google.com:443/HTTPS
    script.google.com:443/HTTPS
    ssl.google-analytics.com:443/HTTPS
    video.google.com:443/HTTPS
    s.ytimg.com:443/HTTPS
    apis.google.com:443/HTTPS
    *.clients[N].google.com:443/HTTPS
    *.googleapis.com:443/HTTPS
    *.googleusercontent.com:443/HTTPS
    *.gstatic.com:443/HTTPS
    *.gvt1.com:443/HTTPS
    lh[N].google.com:443/HTTPS
    [N].client-channel.google.com:443/HTTPS
    clients[N].google.com:443/HTTPS
    inputtools.google.com:443/HTTPS
    sites.google.com:443/HTTPS
    sites.google.com:80/HTTP
    sites.google.com:443/HTTPS
    *.sites.google.com:443/HTTPS
    *.googlegroups.com:443/HTTPS
    ipv4.google.com:443/HTTPS
    ipv4.google.com:80/HTTP
    

    I don't known if you need them all but your going to defiantly need these.

    • googleapis.com:443/HTTPS
    • accounts.google.com:443/HTTPS