kidhack Posted May 26, 2018 Posted May 26, 2018 Is the third time that this occurs... Krydos fixed it both (https://www.helionet.org/index/topic/29990-java-servlet-connection-refused and https://www.helionet.org/index/topic/31106-java-servlet-connection-refused-second-time). My servlet try connect to a server in port 8000 and it's blocked... Krydos adds the IP to a white list and the IP has changed, now it's 87.98.242.218. Can you change the old IP to the new? java.net.ConnectException: Connection refused (Connection refused) java.net.PlainSocketImpl.socketConnect(Native Method) java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) Thanks
wolstech Posted May 26, 2018 Posted May 26, 2018 The destination IP keeps changing, which is why this keeps happening. It'd probably better if the port were opened for all IPs if the target address is dynamic or otherwise subject to change regularly. Moving so this can be looked at again.
kidhack Posted May 26, 2018 Author Posted May 26, 2018 Yes, it will continue to happen because the target IP is dynamic... The definitive solution will be open the port 8000 for all the IPs but Krydos said to me that is not possible and the unique solution is open the port only for a determinated IP.
wolstech Posted May 26, 2018 Posted May 26, 2018 It can be done, he just doesn't want to do it for security reasons. It is the only complete solution though, assuming the port can't be changed to one that's already open for all IPs (like 80 or 443). Have you looked into changing the port to a common one instead?
kidhack Posted May 26, 2018 Author Posted May 26, 2018 I can't change the port... it's a private server for get a m3u for IPTV. If you don't open the port for all IPs, can you do it only for the IP 87.98.242.218? Thanks
kidhack Posted May 27, 2018 Author Posted May 27, 2018 Perfect, now it's ok... when the IP change I will open a new thread Thanks a lot!
Recommended Posts