Ports
(You are: on the host)
...
HOST | GUEST | usage |
---|---|---|
80 | 8000 | HTTP |
443 | 4430 | HTTPS |
5432 | 54320 | Pgsql |
3306 | 33060 | Mysql |
Custom defined ports: (mnemonic 80** → 81**)
...
If you want to add ports for your own environment, modify that file and run (from <project root>/oms-homestead)
Code Block |
---|
$ vagrant provision |
Node console (for EVENTS)
...
The first time you login on the guest, there is a tmux shell running the node instance. Attach to the tmux instance (called Workspace):
Code Block |
---|
$ tmux attach -t Workspace |
you will see the console of the node process. From there you can read the logs or stop it in order to restart. Once you stop it for the first time, if you are not familiar with tmux I advise you to restart the node service outside tmux - in other words, once you press ^C to stop node, press ^D to exit tmux. Then run the command (assuming you are into /home/vagrant/oms-project/oms-events-module)
Code Block |
---|
$ node lib/server.js |