Parallels comes with a network driver that adds two network interfaces, with one of them being used for shared networking. I've had trouble trying to correctly address the server running on OS X from within a Windows app, until I found this way to ease my life. Most of the time, I have those sites running locally on my Mac, using either Apache or Tomcat on OSX.
I regularly use Parallels to test web sites on IE 6.