Not able to start TCP server in GL6100

Hi,
I am using GL6100 modem to use as TCP server. When i try to configure i all commands for TCP server configuration are getting correctly acknowledged from modem. But TCP cleint getting timed out to make connection with server.
I am getting modem IP by first defining it as client and sending data to my TCP server application.
But i am not able get connected to server. Below is the commands list with their responses from modem.
Help me where i am doing wrong.

AT+WIPCFG=1

OK

AT+WIPBR=1,6

OK

AT+WIPBR=2,6,11,“airtelgprs.com

OK

AT+WIPBR=3,6,11

+WIPBR: 6,11,“airtelgprs.com

OK

AT+WIPBR=4,6,0

OK

/* Creation of client to know IP address of modem */

AT+WIPCREATE=2,7,“203.129.197.138”,6690

OK

+WIPREADY: 2,7

AT+WIPDATA=2,7,1
CONNECT /*Data transmitted */

Hello… /*Data Received */

OK /* Transmitted +++ */

/* Creation Of TCP Server */

AT+WIPCREATE=3,3,18000,3,4

OK

Krish,

Do you mean you are setting a server up on the GL and subsequently trying to create a client connection from your server? This is what is failing?

If so then the problem is the fact that your unit is not being assinged a public IP address (since you are using the generic AirTel APN and consequently you will not be able to connect to the unit outside of the airtel network. The client connection you will have made from the GL to your server will have gone through NAT (Network Address Translation) and will not actually be the address of your unit.

Regards

Matt