This issue is caused generally when your Java attempts to use an IPV6 address, where either OS does not support it or its not set up properly. You may get this issue while running your java program from CMD, Java IDE or when downloading jar dependency using maven etc.
So, to resolve this you just need to tell your java code to use IPV4 instead of IPV6 :)
"To fix when running from Command prompt. Just add the properly as: "
java -Djava.net.preferIPv4Stack=true <Your Java Class to Run>
" TO fix when running from Java IDE. Suppose Intellij IDEA: "
Set the property under Run -> Edit Configuration
Wednesday, July 23, 2014
Address is invalid on local machine, or port is not valid on remote machine
All the Best !!! Show Result !! Try Again !! ×
Today, i am gonna describe a solution to send the Jenkins email notification with editable subject instead of default subject each time de...
Jetbrains IntelliJ IDEA Ultimate edition allow to use its IDE for 30 days for free but after that it ask you to register else it get closed...
Sample svg code enbeded into Html code <html> <head> <title>automatethebox.blogspot.com</title> </...