I use Spring Boot with Gradle, I execute this in Intelij:
10:43:37: Executing external task 'bootRun -Drun.arguments="--
server.port=6666"'...
but still in logs I see:
Tomcat initialized with port(s): 8080 (http)
I have seen this, but it does not work for me: https://stackoverflow.com/a/37053004/3871754