title: Hosting proccess that listens to custom port Google Compute Engine
body: <p>This question could apply to any Java process that listens on a port on a VM instance on Google Compute Engine. </p>
  
  <p>I'm trying to establish a TCP connection on port 9090, where an Apache Flume-ng process is running on the VM. I've added a firewall rule for 0.0.0.0/0 TCP:9090 on the default network, and I can see the process is listening on that port.</p>
  
  <p>I have tried both the ephemeral host IP, and static host IP when trying to connect. I'm trying to connect via a Flume-ng client on a local Web app, which when configured for local routing works. It is configured like such</p>
  
  <pre><code>&lt;appender name="FlumeAppender" type="DotNetFlumeNG.Client.log4net.FlumeAppender, DotNetFlumeNG.Client.log4net"&gt;
    &lt;client&gt;Thrift&lt;/client&gt;
    &lt;host&gt;IP Address&lt;/host&gt;
    &lt;!--&lt;host&gt;127.0.0.1&lt;/host&gt;--&gt;
    &lt;port&gt;9090&lt;/port&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>I'm seeing TCP SocketExceptions from the flume client, does the application that is attempting to make the connection to port 9090 on GCE need to establish its own OAuth credentials? Or is there something else that I may be missing?</p>