HTTPServer

21 Nov 2010

I have been testing my Mbed with all kinds of code from the Notebook, the Cookbook and even the student projects.

So far everything have worked with more or less effort, but I have been unable to put at work the HTTP Server programs. (haven't tried the client side yet).

Everything seems to be working ok, DHCP, returned IP, answer to ping queries, etc, but when I try to access it via HTTP, all I can see in Wireshark is my own request [SIN] and nothing more.

I have included "#define __DEBUG" to get more messages from the network stack, but it doesn't seem to work, also I have included a delay (10 mSec) in the "while loop"

I have read that the server have worked for other members, in particular Paul Griffith and Ioanis kedros with the delay trick, but not for me

Any help will be appreciated.

Lalvar

21 Nov 2010

It works right now, but only in same local subnet and not in the subnet of my ISP. It seem that they don´t allow the traffic. It is somewhat strange because I have installed servers hosted in other PC with the same type of connection, that have worked flawlessly.

Lalvar  

21 Nov 2010

OK, I found it....! My ISP is blocking access to port 80 whitin their subnet. Just changed the port to 8080 and is working now.

Lalvar