-->
Page 1 of 1

Web Client local server issue

PostPosted: Thu Jul 30, 2015 3:01 pm
by Michaelo
I have two local servers running, one on my Linux box (192.168.1.4) and the other on my Win 7 machine (192.168.1.1)...
My local network is very basic and includes a four port hub / router with WiFi...

I've built a simple ESP8266 test board using the example WiFi client (192.168.1.5) and can access the Linux server and retrieve data using:
Code: Select allconst char* host = "192.168.1.4";
, but I can't access the server on Windows machine using:
Code: Select allconst char* host = "192.168.1.1";
...
I've even created a virtual host on the windows server
Code: Select allNameVirtualHost esp.dev
<VirtualHost esp.dev>   
    DocumentRoot C:/Server-14.1VC11/data/localweb/esp/   
    ServerName esp.dev
</VirtualHost>
and tried
Code: Select allconst char* host = "esp.dev";
which works from either machine but still no communication using the ESP8266 test board... where am I going wrong?

Re: Web Client local server issue

PostPosted: Thu Jul 30, 2015 9:38 pm
by martinayotte
If it is working on Linux and not Windows, your WebServer as some special requirements.
Is it MS IIS ? Is it working with a browser from another machine ? Is it thru HTTP or HTTPS link ?
Maybe you will need to troubleshoot with Wireshark ...

Re: Web Client local server issue

PostPosted: Fri Jul 31, 2015 9:12 am
by Michaelo
On my windows machine I use Apache, php and MySql (Easyphp/WAMP) and that part is working perfectly.
There's also a chance the problem is related to the broadband router setup, looking in to this at the minute...

SOLVED... It was Apache related...
The way the conf is written I had to specifically allow from 192.168.1.1... that's what I get for updating my file versions... :oops:

Re: Web Client local server issue

PostPosted: Fri Jul 31, 2015 5:32 pm
by martinayotte
Good ! I'm happy for you !