Network Ports

902 views
Skip to first unread message

Mark Barton

unread,
May 13, 2015, 11:31:44 AM5/13/15
to gcm-for-chr...@googlegroups.com
Hi,

I have successfully got GCM working with a Chrome Application - we are using a HTTP server to send messages to GCM and the Chrome Application on users desktops are used to trigger the rich notification.

The problem I have is the corporate network is reluctant to open a port to all traffic.

Looking at the documentation I can see the ports that need to be opened are:

Note: If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with GCM in order for your GCM client apps to receive messages. The ports to open are: 5228, 5229, and 5230. GCM typically only uses 5228, but it sometimes uses 5229 and 5230. GCM doesn't provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169.

But I assume the traffic is not HTTP - can you give anymore information that I could provide to the network administrator?

Thanks

Mark

Filip Gorski

unread,
May 13, 2015, 6:28:25 PM5/13/15
to gcm-for-chr...@googlegroups.com
Hi, Mark,

The traffic goes over a single secure TCP connection on 5228, as explained. By default the host name is mtalk.google.com, per: https://code.google.com/p/chromium/codesearch#chromium/src/google_apis/gcm/engine/gservices_settings.cc, but this is configurable by GCM checkin server. I hope that helps.

I don't suppose Chrome Sync or Chrome OS Enterprise policy features are used by your organization, as they would require a working GCM channel for invalidations.

Please let me know how else I could help.
Thanks.
Filip 

Mark Barton

unread,
May 14, 2015, 4:55:34 AM5/14/15
to gcm-for-chr...@googlegroups.com
Thanks for that Filip I will pass the information along - hopefully that will unblock it ;-)

Mark
Reply all
Reply to author
Forward
0 new messages