Hi wysota,

This is what I want to achieve.

I want my application (lets call it Listener) to listen to http request from a webapp. Listener is running on a pc which is connected to internet via wifi router. The Ip address of pc on which Listener is running is 192.168.*.* (LAN address). Now if the webapp wants to send the request to Listener what is the best way to do it.

I am thinking that I can ask the webapp to send the request to wifi router which will then forward(I am not sure how the router will forward request to Listener) it to Listener at a particular port where it would be expecting a request. That is why I need the ip address of router. Is that possible? Is there any better way to achieve that?

Thanks