I want to make a small LAN, not connected to the internet.
I open control panel/networking and find my Ethernet adapter.
I unchecked IPv6 and click on IPv4 and select "Properties".
I gave a fixed IP address of 192.168.1.1 butI can't ping 192.168.1.1
And a program I wrote can't access a MySql database on that address ... I am using Xampp, the program can access the database if its connect string says localhost, not 192.168.1.1 Also, I can access through PhpMyAdmin and invoking MySql from a Dos box - so, MySql seems to be ok
Wondering why I can't ping, I run IPCONFIG and my Ethernet adapter's address is the old one, not the new fixed one that I assigned
[UPDATE] I haven't attached a router yet, it's a stand-alone PC. Thanks for pointing out that the router, when added, will probably be 192.168.1.1 so I should probably make my PC 192.168.1.2
but my point here is that I can't ping what I thought I set as my static IP and, indeed, it does not show up when I run IPCONFIG - I get the previous value.