TarekJ wrote:- is there a way for accessing the esp8266 module without having a public IP?
Yes, of course! But you omitted lots of information about your problem, and any of the obvious answers to your question are going to be useless...
can this work?