Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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?

Posted

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...