node.js - Is it possible to access a localhost from a vagrant devbox? -
i'm running application on local vagrant vm on computer , wondering if created node server ran on localhost (also on computer) able access node server vagrant application ?
with default vagrant settings, can reach host computer via ip 10.0.2.2
. @ least true virtualbox provider. haven't tested others far.
if have configured node server on host machine in way listens all ip addresses assigned host computer should able access
http://10.0.2.2
from within vagrant virtual machine.
Comments
Post a Comment