Saved Bookmarks
| 1. |
Solve : block certain sites using batch file???? |
|
Answer» Quote from: Sidewinder on December 26, 2008, 04:54:31 AM An IP address is a quartet of binary numbers. A (traditional IPv4) IP Address is a 32-bit value. Because the different bytes have meanings, they are often seen represented as 8-bit quadruplets (or "dotted quads") of decimal numbers. These are more convenient for humans to get their heads around. You can use the 32-bit value in most internet clients (i.e., web browser, FTP client) instead of the dotted quads or the domain name. Converter here http://www.geektools.com/cgi-bin/ipconv.cgi Or use ping to convert from long to quad For example, the 32 bit IP address 1249725795 translates to the dotted quad form 74.125.77.99 Code: [Select]C:\>ping 1249725795 Pinging 74.125.77.99 with 32 bytes of data: REPLY from 74.125.77.99: bytes=32 time=398ms TTL=244 Reply from 74.125.77.99: bytes=32 time=442ms TTL=244 Reply from 74.125.77.99: bytes=32 time=323ms TTL=244 Reply from 74.125.77.99: bytes=32 time=427ms TTL=244 Ping statistics for 74.125.77.99: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: MINIMUM = 323ms, Maximum = 442ms, Average = 397ms varunjose, make sure you have the dotted IP address 127.0.0.1 correctly shown in your hosts file! You could use 2130706433 but let's not complicate matters! Why have you not posted your hosts file? Do so or risk termination of help. |
|