I had this problem when i first started running, then it went away... dunno if the skin got used to it or what.

What do you run in? never had it since I started wearing shorts all the time.

Just make sure your pants and boxers are loose.