If you are developing on your localhost and you need to access your dev website in your Android app, there is a few steps to achieve this. A use case example is Cordova (Phonegap) based platform DrupalGap which connects to a Drupal website to fetch data.
First we need to define a port. Add this line to /etc/apache2/ports.conf:
Building online presence of your
business growth and prosperity!