Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy How the Web Works The World Wide Web Domain Names and IP Addresses

Sheldon Li
Sheldon Li
9,309 Points

Why the up limit figure of IPV4 is 255 rather than 999?

where does the figure "255" come from?

3 Answers

each octet in an IPv4 address represents an 8 bit binary number. There are 256 unique combinations you can get using 8 bits, so you can represent 256 numbers. Because the 0 is included, that allows you to count from 0 to 255.

Sheldon Li
Sheldon Li
9,309 Points

Thanks Laurence ! Good to know it..

thnx Laurence