Trying to get the EchoServer and ChatServer examples to work (I can get all the other examples to work fine), last Serial.println I see is "Listening for connections...".
I have tried a few clients: from my Windows XP(192.168.1.105), Dos Prompt (telnet 192.168.0.102 7), PuTTY (192.168.0.102 7 Telnet) and from my iPad(192.168.0.103), Telnet Lite (192.168.0.102 7 ), all fail to connect.
I have two (2) WiFi Routers, my CC3000 could NOT connect to my Cisco M20 (192.168.1.1) using WLAN_SEC_WEP, but CAN connect to TP-LINK TL-WRT720N (192.168.0.1) using WLAN_SEC_WPA2.
I used Net Master HD on my iPad, I can see the CC3000 (192.168.0.102) and port 7 available, but I can not connect.
CC3000 EchoServer/ChatServer - Client can not connect.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 11
- Joined: Sun May 12, 2013 10:56 am
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
I have just been running the ChatServer and EchoServer. I have two telnet sessions running on my MacBookPro. The chat functionality is working between the telnet sessions. EchoServer echoes whatever I type. Nothing additional is printed in Serial Monitor after "Listening for connections…", so that is normal behavior.
What makes you think you cannot connect? What output are you seeing from your telnet clients?
What makes you think you cannot connect? What output are you seeing from your telnet clients?
-
- Posts: 11
- Joined: Sun May 12, 2013 10:56 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
Rick,
Thanks for the reply, kind of curious why the DNSserv is 192.168.1.1 when my Gateway is 192.168.0.1 (see below).
The following is the Dos Prompt telnet client (similar results from the other aforementioned telnet clients):
Thanks...
Ed
Thanks for the reply, kind of curious why the DNSserv is 192.168.1.1 when my Gateway is 192.168.0.1 (see below).
Code: Select all
Hello, CC3000!
Free RAM: 1055
Initializing...
Started AP/SSID scan
Connecting to TP-LINK_831E50...Waiting to connect...Connected!
Request DHCP
IP Addr: 192.168.0.102
Netmask: 255.255.255.0
Gateway: 192.168.0.1
DHCPsrv: 192.168.0.1
DNSserv: 192.168.1.1
NOTE: This sketch may cause problems with other sketches
since the .disconnect() function is never called, so the
AP may refuse connection requests from the CC3000 until a
timeout period passes. This is normal behaviour since
there isn't an obvious moment to disconnect with a server.
Listening for connections...
Code: Select all
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\EdwardE>telnet 192.168.0.102 7
Connecting To 192.168.0.102...Could not open connection to the host, on port 7:
Connect failed
C:\Documents and Settings\EdwardE>
Ed
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
I think you need to get to the bottom of the dns/gateway issue. You seem to have some configuration problems with your network.
-
- Posts: 11
- Joined: Sun May 12, 2013 10:56 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
Nothing wrong with my network, issue is, the Serial Monitor and the CC3000 MUST be on the same network. Plugged my PC into the 192.168.0.x network, and all sketches ran as expected (ChatServer, EchoServer and MDNS_Echo_Server).
- carlhung
- Posts: 1
- Joined: Sun Feb 01, 2015 7:57 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
I have got the same problem.
Webserver works fine.
Webserver works fine.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CC3000 EchoServer/ChatServer - Client can not connect.
What exactly is the problem? Are you running one of the Adafruit example sketches?
Please post the output from Serial Monitor
Please post the output from Serial Monitor
Please be positive and constructive with your questions and comments.