Closed opticyclic closed 10 years ago
This is an interesting one, thanks for pointing it out. Vagrant can be configured to auto-correct port collisions, so that it would automatically pick a random free port on the host if 1521 is already taken. But 1521 is the standard port for Oracle. I think it is better to get a clear error message than to have Vagrant automatically pick an unexpected port, so I'm inclined to leave the configuration as it is now.
Just to clarify... obviously another option is to have Vagrant set up a (non-standard) port other than 1521 to begin with, but then the user would have to do more configuration in e.g. SQL Developer to connect to a non-default port.
I got the following error when doing Vagrant up, probably because I have OracleXE installed on my host as well. It might be worth choosing a more random host port to forward to.