connection problem between two different systems

I am unable to connect between two different systems. One is my local computer which has ip address say and port 8080, another one is remote system (VM) which has ip address and port number 8080 where mendelson as2 servers are running. can any body fix this problem.