I have to make a virtual host with xampp. I have IIS installed already for windows 7.
So I had to change port number for apache with Xampp.
I have configured many times different virtual host with port 80 that is default port for apache server.
However right now I have configured virtual host with different port that is 8080. But no luck.
Any body knows how to configure virtual host for apache with xampp using different port number?

Yes. I have configured with following way:

NameVirtualHost *:8080

<VirtualHost *:8080>
DocumentRoot E:/xampp/htdocs/
ServerName localhost:8080
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot E:/xampp/htdocs/magento
ServerName magento.localhost.com
ServerAlias magento.localhost.com
ErrorLog E:/xampp/htdocs/magento/logs/error.log
</VirtualHost>

I have configured using the above way. But its not working.