E
E
eldar_web2015-03-04 19:50:51
Ruby on Rails
eldar_web, 2015-03-04 19:50:51

How to access the project through a browser on the first machine by running rails s on the second machine (ubuntu)?

Through vagrant, I started ubuntu on the second machine.
Created a rails project there.
Started the project (rails s). The project is connected.
I open a browser on Windows, and write there: localhost: 3000 and 127.0.0.1.
And it doesn't open anything.
What's the matter? How can the problem be solved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2015-03-04
@eldar_web

You need to forward ports from your host machine to the guest virtual machine, this is done in the virtual machine settings. You don't even need to overload.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question