I can not establish connection between the OCS server and the agent. This is my error when I write "sudo ocsinventory-agent":
[Error] Can not establish communication: 500 Can not connect to IP_server: 80
I can not do ping from the agent to the server and from the server to the agent but it create "ocsinventory-agent.cfg" and "modules.conf" in /etc/ocsinventory/. And in ocsinventory-agent.cfg put server="http://IP_server/ocsinventory/" , I don't write it, so do it detect my server?.
I am working on virtual machines in VirtualBox with NAT adapter. I have a static IP in the server.
I don't know how conect my 2 machines to get a successful ping.I think that it's my problem ¿How do I get it?