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 |
Showing posts with label IntelliJ IDEA. Show all posts
Showing posts with label IntelliJ IDEA. Show all posts
Wednesday, July 23, 2014
Address is invalid on local machine, or port is not valid on remote machine
Sunday, April 13, 2014
How i tricked IntelliJ IDEA ultimate edition to keep running even after the trial period.
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 after every 30 minutes run, which is bad bad bad :(
So what i noticed and did to overcome this, i wanted to share with you all.Actually, i noticed that its IDE saves the current system time and on basis of that it gets closed after 30 minutes.
So i created a batch script which reset the time every 20 minutes so the IDE run time does not over and you get it running till you want :) :) :) :)
Copy and save the below commands with name 'tReset.bat' and start after starting your Intellij ultimate edition. <!-Code Start--->
Thanks :) :) :)
NOTE: You can use it the above solution at your own for personal use and make sure your system is not a part of Active Directory because in that case your system may get out of sync with AD :\
So what i noticed and did to overcome this, i wanted to share with you all.Actually, i noticed that its IDE saves the current system time and on basis of that it gets closed after 30 minutes.
So i created a batch script which reset the time every 20 minutes so the IDE run time does not over and you get it running till you want :) :) :) :)
Copy and save the below commands with name 'tReset.bat' and start after starting your Intellij ultimate edition. <!-Code Start--->
@echo off
:start
REM : Save the current time in a variable
FOR /F %%G IN ('time /t') DO Set cTime=%%G
REM Displaye current time
echo %cTime%
REM Sleep for 20 minutes
Sleep 20
REM Reset the time
time %cTime%
goto start
<!-Code End--->
Thanks :) :) :)
NOTE: You can use it the above solution at your own for personal use and make sure your system is not a part of Active Directory because in that case your system may get out of sync with AD :\
Subscribe to:
Posts (Atom)
AWS Certified Solutions Architect Associate - AWS Introduction - Questions
All the Best !!! Show Result !! Try Again !! ×
-
All the Best !!! Show Result !! Try Again !! ×
-
// Store you current window handle in a String variable. String parentWindow = driver.getWindowHandle(); // Click on the the p...
-
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...