I am not being able to access the server using the ip address of the kali machine in the windows vm . What could possibly be the reason behind that ?
Make sure you start apache2 in Kali using the following command:
service apache2 start
Then go to http://10.0.2.4/ in the Windows machine.