Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set port #12

Open
wwjd1234 opened this issue Oct 1, 2019 · 1 comment
Open

How to set port #12

wwjd1234 opened this issue Oct 1, 2019 · 1 comment

Comments

@wwjd1234
Copy link

wwjd1234 commented Oct 1, 2019

The application.properties does not specify a port, is there a way to specify the port that the application will use?

@ThePrez
Copy link

ThePrez commented Feb 2, 2021

You may be able to specify server.port as this is just a Spring Boot app using the default configuration. For instance, https://www.tutorialspoint.com/spring_boot/spring_boot_application_properties.htm

If you are only using the app, Docker is the easiest way to deploy, and you can specify any port you want as the locally-used port on the command line by changing the -p value, for instance to use port 80: docker run -p 80:8080 --rm kbhargava/kafka-visuals <zookeeper IP:Host> <kafka IP:host> <DEV, PROD, UAT, QA>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants