Chat freely about anything...

User avatar
By Michaelo
#24640 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?
User avatar
By martinayotte
#24659 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 ...
User avatar
By Michaelo
#24706 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: