Page 1 of 1

Wifly - telnet port 80

Posted: Wed Feb 29, 2012 2:16 pm
by David Kent
I'm using the SpiUartTerminal code.
I've successfully connected the Wifly with my router:
Code: Select all
set wlan auth 4
set wlan phrase password
join SSIDname
i get:
Code: Select all
Joining FOX now..
<2.32> Associated!
DHCP: Start
DHCP in 1947ms, lease=3600s
IF=UP
DHCP=ON
IP=192.168.1.75:2000
NM=255.255.255.0
GW=192.168.1.254
At this point I can use telnet 192.168.1.75 2000 from my computer to connect with Wifly.
Now i change the localport to 80 with:
Code: Select all
set ip localport 80
AOK
I confirm the setting with:
Code: Select all
get ip

IF=UP
DHCP=ON
IP=[b]192.168.1.75:80[/b]
NM=255.255.255.0
GW=192.168.1.254
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x63
BACKUP=0.0.0.0
<2.32> 
It seems that everything OK, but now I can't preform telnet 192.168.1.75 80.
I got this from my terminal's computer:
Code: Select all
telnet 192.168.1.75 80
Trying 192.168.1.75...
telnet: connect to address 192.168.1.75: Connection refused
telnet: Unable to connect to remote host
I'm stuck here.
What am I doing wrong? At this point I can't test the HTTP connection.

Re: Wifly - telnet port 80

Posted: Wed Mar 14, 2012 5:06 pm
by satalfa
Hi,
try telnet 192.168.1.75:80

instead of telnet 192.168.1.75 80 (without : ;))
A+
Olivier