How did Comcast know your friend was running a server that hosted a forum?
This is actually far easier than most people realize. Most home Internet connects list running any externally visible servers as a violation of terms of service. Any open listening port are a dead giveway. What may be more important is the amount of traffic that is being generated, and the direction of connection initiation.
In short.... your ISP will know.