Which port android app is using
<p>My wifi works through proxy, so I am using rooted phone with asproxy to connect to the internet.</p>

<p>most of the apps use standard ports (that's my belief), but some uses special ports like play.google.com uses 5228 to connect. </p>

<p>is there a way to know which port my other apps are using (probably to listen) example mighty text so i can configure them in asproxy. I have tried logcat but i doesnot give much details. </p>

<p>logcat extract: </p>

<pre><code> W/com.Alsu.ASProxy(  757): Network connected, starting
&gt; D/WifiWatchdogService(  251): (android.server.ServerThread) wi-fi
&gt; (.f....) does not require the watchdog D/Tethering(  251):
&gt; MasterInitialState.processMessage what=3 D/GTalkService( 2257): #####
&gt; Network broadcast (connected=true) type=WIFI, state=CONNECTED
&gt; I/MediaUploader( 6574): No need to wake up D/GTalkService( 2257):
&gt; [GTalkConnection.1] ### networkStateChanged: active and curr network
&gt; type/state are the same(1/CONNECTED), ignore D/CMStats ( 6594):
&gt; CONNECTIVITY_ACTION: noConnectivity = false D/CMStats ( 6594):
&gt; CONNECTIVITY_ACTION: starting service D/CMStats ( 6594): User has not
&gt; opted in -- skipping reporting.
&gt; **V/texty   ( 5190): Data connection is ON.** D/dalvikvm(  370): GC_CONCURRENT freed 390K, 45% free 3913K/7047K, external 133K/513K,
&gt; paused 4ms+6ms W/KeyCharacterMap(  370): Can't open keycharmap file
&gt; W/KeyCharacterMap(  370): Error loading keycharmap file
&gt; '/system/usr/keychars/europa_keypad0.kcm.bin'.
&gt; hw.keyboards.0.devname='europa_keypad0'
</code></pre>
