之前和大家分享過 使用Azure Free Tier 的MySQL Database 有Connection Limitation的問題
之後便做了一會research 看看有沒有些比較 cost effective 的alternative
做了半天的research都找不到想要的東西..
最後便決定自己在Azure 上起一個Development Server 方便和朋友試東西
覺得自己已經把End Point設定好..
但是不知道為什麼在Server之外嘗試檢查 port 3306有沒有開放..
還是close的…
但是使用網上的工具去檢查時發現 Port 3306 是Close的
E.G.
http://sharechiwai.com/networktools
所以便需要看看其實 Ubuntu/Linux 內有沒有 開放/Listen port 3306了
那麼..如何檢查在Ubuntu/Linux 上那些Port Open了呢?
解決方法
我們可以在Terminial 上執行這個指令
netstat -ntlp | grep LISTEN
他便會列出Linux/ Ubuntu正在Listen那些Port了
E.G. 那些Port是open的
Hope you find it useful