GPRS TC63 not conection TCP/IP socket | Telit Cinterion IoT Developer Community
September 15, 2015 - 1:02pm, 4232 views
*****, I'm using TC63 hardware with serial communication between my computer, but I can not use the socket command TCP / IP, use the SOCKETTEST V3.0 software for my server, and use the TC63 to CLIENT, see aT commands that I use in Brazil use the phone operator TIM:
AT+CMEE=2
AT^SCFG="Tcp/WithURCs",on
AT^SICS=0, conType,GPRS0
AT^SICS=0,user,"tim"
AT^SICS=0,passwd, "tim"
AT^SICS=0,apn,"tim.br"
AT^SICS=0,"inactTO","6000"
AT^SISS=0, srvType,socket
AT^SISS=0, conID,0
AT^SISS=0, address,socktcp://**********:747 <<<<<< IP PUBLIC and my port
AT^SISO=0
^SIS: 0, 0, 21, "Remote host has rejected the connection"
^SISR: 0, 2
anyone have any example in Visual Studio for connecting server?
PLS help..
Hi,
when I tryed to open socket from BGS5T to some computer, I had to set port forwarding, have you done that? I didn't use AT commands but Java code, if that will be helpful for you I can post it here.
Regards,
Jure
yes, I can connect another computer in my computer through this software (TEST SOCKET), but I can not connect the TC63 on my pc via socket,
still do not know how to use java, only use the AT command via SERIAL.
Sorry, then I can't help you, because I only used Java for this not AT commands. Only thing that I had problems with was port forwarding.
Do you have those computer in your local network, if they are in local network then you probably didn't have to set portforwarding, so this could explain why that program worked and it didn't work with TC63.
Regards,
Jure
Hello jure did socket test between computers, and got the communication because the computers are connected to the same network, and now I realize that I can not connect to another computer outside the network on my computer , I think the problem is with the port and external IP , bad even creating rules in the firewall I still can not , please help me. Try using this socketTest using two computers off the network , or connect using the external IP .
Hello,
If you have done tests between two computers in your network (connecting to private address of your server) maybe you could now try to connect using the public IP address of your network (please make sure that you have the IP address from the public pool from your internet provider). Or you can connect one PC with the modem and try to connect to your server's public IP.
On the module's side everything seems to be OK but you could also try to connect to some public http for example to make sure that the internet connection is configured properly on your module.
Regards,
Bartłomiej
ok , now the Night In, I will set up my router , directing the IP and port Mine, bad in my module can use GET so easily , but right now I want to use the TCP / IP mode. Tomorrow put answers . Thank you
Hello Weslleymata,
there is not just firewall settings that you need to change, but also on your router. I don't have time to test it, but as I said before I had working connection betwen BGS5T and some comouter, but before that I had to set port fordwarding on router.
Regards,
Jure
ok , now the Night In, I will set up my router , directing the IP and port Mine, bad in my module can use GET so easily , but right now I want to use the TCP / IP mode. Tomorrow put answers . Thank you