I Can't connect my Wifi module ESP8266 with my android device can any one help with it and also how can i know the port number of my ESP8266 and IP address.
What were you trying to do with the connection?
A network port number is typically linked to a protocol that you would use over that port. For example port 80 is used for HTTP traffic to a web server. You could actually host web paged on a ESP8266, and there are plenty of examples out there. You could write your own communication code over any port, if you wrote both the client and server code, but I suspect that is not what you want to do. Writing a Web Page to control LED's or devices may be how you use your ESP8266 from your arduino. I've done this and wrote code to control lights and devices from the ESP8266, even though I prefer the Node MCU. I've also written a web server hosting web pages. Look in the examples, you'll find plenty of code to start with.
I'm assuming that you are able to upload to your esp