title: Open TCP ports on Raspbian
body: <p>I am trying to use my raspberry pi as a server, I have a java app using tcp port 1777 and mysql on 3306, however neither one or the other is accessible from lan (both works fine from the pi itself). When I scan the ports open on the pi from my laptop I only see the ssh and vnc ports, but when running the netstat on the pi both ports appear to be in listening state. I am running the latest version of raspbian (image had a ssh and vnc disabled by default, I enabled it in pi configuration (raspi-config)). Any ideas?</p>
  
  <p><a href="https://i.stack.imgur.com/62xN9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/62xN9.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/LdIlD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LdIlD.jpg" alt="enter image description here"></a></p>