Skip to content

Instantly share code, notes, and snippets.

@KrishManohar
Created July 28, 2015 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KrishManohar/e55bb4971df1fafc8d48 to your computer and use it in GitHub Desktop.
Save KrishManohar/e55bb4971df1fafc8d48 to your computer and use it in GitHub Desktop.
Coldfusion Generate Random IP Address
<cfset ipAddress = RandRange(0, 255) & '.' & RandRange(0, 255) & '.' & RandRange(0, 255) & '.' & RandRange(0, 255) />
<cfoutput>
IP ADDRESS: #ipAddress#
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment