WiFly Shield port

Hi,

I have a WiFly Shield that was recently purchased, I have gone through the tutorials, I can load all of the and successfully connect to my home secured wifi network.

The problem that I am having is that it wont change from port 2000 to port 80 for web browser connections!

This is the code that I am using to change the port used, however it useless, and its response.

set ip localport 80
AOK

Is this the right code that I am using or have I been blind and am completely missing something?

Adam

Hi Adam,

razorbud:
The problem that I am having is that it wont change from port 2000 to port 80 for web browser connections!

Can you please describe what happens when you try to connect?

Does it work with port 80 when you use telnet?

–Philip;

Hi Philip,

I cant connect over telnet via port 80, it keeps on saying connection refused. When I run the the connection in the web browser with HTTPFox I get a connection error, and the error code NS_ERROR_DOCUMENT_NOT_CACHED!

However I can connect to telnet via port 2000, after I have changed the local port to 80, I can connect, and the web page is served by going to 192.168.1.92:2000

the output from get ip and get w is included bellow.

<2.15> set i l 80
AOK
<2.15> get w
SSID=House of Trouser
Chan=13
ExtAnt=0
Join=1
Auth=MIXED
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=0
Passphrase=**********************

<2.15>get ip
IF=UP
DHCP=ON
IP=192.168.1.92:80
NM=255.255.255.0
GW=192.168.1.1
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1460
FLAGS=0x7
BACKUP=0.0.0.0

I have tried changing the protocol to both TCP, UDP, and then to the http option( I know it is reserved but I have had to try). This has had no effect on the problem.

I am wondering if it has anything to do with the host being set to port 2000?

Adam

I am having exactly the same problem. Please help.

This is an email that I received from the support guys at Roving Networks

“set i l 80” only sets the INCOMING port if you want to connect TO the

wifly.

You probably want to connect OUT from the wifly. For that you need to set

the

REMOTE port.

“set i r 80”

By the way we have some new firmware with higher level of support for

talking

To web servers which sounds like what you are doing.

Please see this: www.rovingnetworks.com/documents/wifly-219.pdf

You can get the new code by doing:

“ftp u wifly-2185.img”

after that it seamed to work, however I think you have to set the port before you associate with the wireless network.

Adam

That didn’t work for me. However, factory RESET did.

thanks for that, its working now :slight_smile: