Take the 2-minute tour ×

By default Tomcat only listens on localhost when run using "mvn tomcat:run". How can I bind to a specific, or all, interfaces instead?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Use the serverXml option.

share|improve this answer

Your Answer


