title: facing the problems with dns-api-go setup in google cloud
body: <p>I created the Ubuntu virtual machine on that I created the Go environment after that I successfully imported and installed the skx/dns-api-go</p>
  
  <p>I followed this doc: <a href="https://github.com/skx/dns-api-go" rel="nofollow noreferrer">https://github.com/skx/dns-api-go</a> for to set up the environment also I installed the required dependencies like </p>
  
  <blockquote>
    <p>Dancer,Plack::Middle ware::Throttle::Lite,Net::DNS::Resolver,twiggy,
    libdancer-perl ,libnet-cidr-lite-perl ,
    libplack-middleware-reverseproxy-perl.</p>
  </blockquote>
  
  <p>after that, at last, I run the following command: </p>
  
  <pre><code>dns-api-go  -redis-server localhost:6379 
  </code></pre>
  
  <p>then am getting the following result : </p>
  
  <blockquote>
    <p>Launching the server on <a href="http://127.0.0.1:9999" rel="nofollow noreferrer">http://127.0.0.1:9999</a> redis: 2018/09/25
    11:18:56 ring.go:263: ring shard state changed: Redis is down.</p>
  </blockquote>
  
  <p>when I changed the port number in web preview in cloud shell it is showing as your server is not listing to 6379 port number, but in the instance level when I run the <code>netstat -an</code> command it is showing as the server is listing for 6379 port</p>
  
  <p>please help me in resolving these issue.</p>