title: How to create an http server on android that a desktop can access (vice-versa) using NanoHTTPD
body: <p>Using an available WiFi IP (i.e. 192.xxx.x.x, using post 8080), I'd like to create a http server in android that can connect and can be accessed by a desktop so that I can transfer files to the android device.</p>
  
  <p>Update:
  I'm currently trying out NanoHTTPD but I can't seem to make the sample HelloWorld run on android device..</p>
  
  <p>I changed the hello world code and made it extend activity instead and created an object <a href="http://elonen.iki.fi/code/nanohttpd/" rel="nofollow">nanohttpd</a>.</p>
  
  <p>I modified up to specifying what port to be used but upon further debugging, I found out that the server socket has no getInetAddress at all. I thought NanoHTTPD no longer needs further config...? </p>