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
Subscribe to:
Post Comments (Atom)
AWS Certified Solutions Architect Associate - AWS Introduction - Questions
All the Best !!! Show Result !! Try Again !! ×
-
All the Best !!! Show Result !! Try Again !! ×
-
In my post i have used mailserver.com just for example you need to use an real time mail server for yourself. Why not try on your org ema...
-
Today, i am gonna describe a solution to send the Jenkins email notification with editable subject instead of default subject each time de...
No comments:
Post a Comment