The Mac OS command (at least 10.6) to create an alias is: ifconfig lo0 alias 127.0.0.2Īnd to delete: ifconfig lo0 -alias 127.0.0.2 2 and then JBoss and Jetty place nice with each other. When you start up Jetty, you pass in the binding IP of. So the easier way is to just create a new IP or alias your localhost (127.0.0.1) into something like 127.0.0.2. The problem is JBoss opens up so many ports on a particular network adapter and trying to get JBoss and Jetty to share a single IP is a nightmare. Frequently I had multiple tiers of servers running – a Jetty instance running the web tier and a JBoss/EJB server doing the business tier behind it. I do a lot of local web development on my MacBook Pro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |