But still i am getting good output in my laptop and it communicates with ethernet shiled and router. but android mobile only problems.
As you haven't provided more information about your network, I'd still guess that your mobile is using the mobile (GPRS, UMTS or the like) network to connect to your server and it's not possible because it's not visible in the internet. Deactivate your mobile network (safest is to select another operator, be prepared that you cannot use it for phone calls then) and activate just WLAN. Does it show up then?
And important note is that,from the time i got the first output, i didnt made any changes in the project. but it shows error.
Does that mean it shows an error on the laptop too?