How to access Oracle webservice on virtual machine

Discussion in 'Windows Virtual Machine' started by MacW, Feb 8, 2016.

  1. MacW

    MacW Bit poster

    Messages:
    3
    Hello to everybody,

    I have on my Parallels (Desktop for Mac 11) virtual machine Windows 10 installed, with a Oracle 12c database.
    On my virtual machine I can access the Oracle database, and even I can run Apex 5 through my browser. So far so good.

    Now I want to access the Oracle database via the Mac. Or accessing Apex on the virtual machine with my Mac's Safari.

    Can anybody please explain me how to achieve this.

    Thank you.
    Carlos Wiesemann
     
  2. marat_t

    marat_t Pro

    Messages:
    288
    Hi Carlos,
    you should be able to access using VM IP. If it doesn't work look at firewall or Oracle config (be default webservices can allow access from localhost only).
     
  3. MacW

    MacW Bit poster

    Messages:
    3
    Thank you Marat for your answer.

    Where can i find the " VM IP"?
    For example to start Apex in my VM browser I use: http://localhost:8080/apex or http://oracle.win10.mac:8080/apex (no difference, both work).
    How do I start Apex from my Mac?

    Thank you
    Carlos
     
  4. marat_t

    marat_t Pro

    Messages:
    288
    in the windows command prompt execute ipconfig. I twill show your VM IP address. In Mac browser use http://VM_IP:8080/apex
     
    MacW likes this.
  5. MacW

    MacW Bit poster

    Messages:
    3
    Thank you!!!
    It works.

    I don't how to explain it, but the only thing I had to do was to open the port 8080 (in this case) in the firewall.

    Again thank you
    Carlos
     

Share This Page