Configure server port when running jar files
Sometimes you need your applications to be running on different ports because other applications are running on the same port.
For Example, you need to run the restful-web-services-0.0.1-SNAPSHOT.jar file at port 8888 just run the below command.
..........
C:\Users\dk\Desktop>java -Dserver.port=8888 -jar restful-web-services-0.0.1-SNAPSHOT.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.0.RELEASE)
ationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$6dd8c139] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-07-09 15:09:17.809 INFO 5272 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$6868973] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-07-09 15:09:17.825 INFO 5272 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'objectPostProcessor' of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Linux Enable ssh:
ReplyDeletesudo apt update
sudo apt install openssh-server
https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/
ReplyDeletesudo apt update
ReplyDeletesudo apt install openssh-server
sudo systemctl status ssh
if firwewall blocked ssh :sudo ufw allow ssh
access: ssh username@ip_address