Score:0

How to make NodeJS server located on VM visible on host PC?

jp flag

I have my PC (host) and two VBox Linux virtual machines installed on it. One VM contains Postgres database and the other one NodeJS server running on it and they both can communicate between. When I start a node server, I can get all the data (JSON format) from the database on localhost:3000/database_table or vm_ipv4_adress:3000/database_table, but can't on the host PC (even though I changed localhost to its IPv4 address). The bridged adapter is set to both VMs. My host PC can get all the data from the Postgres database, but can't reach the NodeJS server on another machne. So, my question is how can I make the nodeJS server visible to the host?

djdomi avatar
za flag
It looks for me that this kind of Setup is a Local and Private use only, sofar tell us the Business Case in here - the second is, which can ping each aother? define that in A B C
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.