Hi all,<\/p>\n
I have a Ubuntu VM running an app in docker compose - the app is crAPI, something I am using for hacking APIs book.<\/p>\n
I can access the crAPI app from the Ubuntu VM using 127.0.0.1:8888<\/p>\n
However, I want to access the crAPI from another VM, for example a Kali VM on the same local network but I cant because the crAPI is using some 172 ip address. This seems to be some internal ip address accessible only from the Ubuntu VM, surely there is a way to make crAPI accessible on the network?<\/p>\n
I am well prepared and ready for some wacky commands to make this simple idea work.<\/p>\n
Any ideas please?<\/p>\n
Many thanks<\/p>","upvoteCount":5,"answerCount":4,"datePublished":"2023-02-19T07:18:34.000Z","author":{"@type":"Person","name":"cyberspice82","url":"https://community.spiceworks.com/u/cyberspice82"},"suggestedAnswer":[{"@type":"Answer","text":"
Hi all,<\/p>\n
I have a Ubuntu VM running an app in docker compose - the app is crAPI, something I am using for hacking APIs book.<\/p>\n
I can access the crAPI app from the Ubuntu VM using 127.0.0.1:8888<\/p>\n
However, I want to access the crAPI from another VM, for example a Kali VM on the same local network but I cant because the crAPI is using some 172 ip address. This seems to be some internal ip address accessible only from the Ubuntu VM, surely there is a way to make crAPI accessible on the network?<\/p>\n
I am well prepared and ready for some wacky commands to make this simple idea work.<\/p>\n
Any ideas please?<\/p>\n
Many thanks<\/p>","upvoteCount":5,"datePublished":"2023-02-19T07:18:35.000Z","url":"https://community.spiceworks.com/t/docker-compose-network-issue/946587/1","author":{"@type":"Person","name":"cyberspice82","url":"https://community.spiceworks.com/u/cyberspice82"}},{"@type":"Answer","text":"