
kidhack
Members-
Posts
20 -
Joined
-
Last visited
Everything posted by kidhack
-
[Solved] Java Servlet - Connection Refused (third time)
kidhack replied to kidhack's topic in Escalated Requests
Perfect, now it's ok... when the IP change I will open a new thread Thanks a lot! -
[Solved] Java Servlet - Connection Refused (third time)
kidhack replied to kidhack's topic in Escalated Requests
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 -
[Solved] Java Servlet - Connection Refused (third time)
kidhack replied to kidhack's topic in Escalated Requests
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. -
[Solved] Java Servlet - Connection Refused (third time)
kidhack posted a topic in Escalated Requests
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 -
[Solved] Java Servlet - Connection Refused (second time)
kidhack replied to kidhack's topic in Customer Service
Yes! Works perfectly... there is not possibility to add the port without IP specification? Thanks -
[Solved] Java Servlet - Connection Refused (second time)
kidhack replied to kidhack's topic in Customer Service
Yes... Now the IP is 37.187.168.233. The port is only open for one specific IP? -
Hello, the 10th october my servlet thrown this fail and I open a topic... Krydos fixed it, and since a days the error is back: Estado HTTP 500 – Internal Server ErrorTipo Informe de Excepción mensaje Connection refused (Connection refused) descripción El servidor encontró un error interno que hizo que no pudiera rellenar este requerimiento. excepción 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) java.net.Socket.connect(Socket.java:589) java.net.Socket.connect(Socket.java:538) The post where was solved is this. Thanks.
-
Hello! I have a servlet that creates a file with a m3u list and then the file was downloaded... since yesterday, java launchs a exception (permission denied): Estado HTTP 500 - file_tv.m3u8 (Permission denied) type Informe de Excepción mensaje file_tv.m3u8 (Permission denied) descripción El servidor encontró un error interno que hizo que no pudiera rellenar este requerimiento. excepción java.io.FileNotFoundException: file_tv.m3u8 (Permission denied) java.io.FileOutputStream.open0(Native Method) java.io.FileOutputStream.open(FileOutputStream.java:270) java.io.FileOutputStream.<init>(FileOutputStream.java:213) java.io.FileOutputStream.<init>(FileOutputStream.java:133) com.avz.servlets.MainServlet.generateTVFile(MainServlet.java:315) com.avz.servlets.MainServlet.doGet(MainServlet.java:54) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/8.5.4. Thanks!
-
Ok, more perfect ? very very thanks, man
-
Yeah, now is perfect! Thanks a lot! A more question... is a problem if the IP changes in the future??
-
Any solution to this issue?
-
Yes, I know, but im not sure if this domain will have always the same IP... Now, the IP is 147.135.183.212
-
I dont know, I only know the URL. I only need can access to it, please
-
I cant change the port, the server is a IP TV service that I hired and return a m3u file that I need download in my servlet. Is not possible to open the 8000 port for outgoing connections? I found this related thread and I think that you solved it?: https://www.helionet.org/index/topic/11996-a-module-in-my-joomla-webpage-on-heliohost-needs-access-to-tcp-port-8000/
-
Thanks but my incoming port is 80, I need that the servlet can call outputs URLs that have 8000 as port... The thread that you indicates to me is to set a different port in the incoming calls? URL m3uUrl = new URL("http://primitivos.mine.nu:8000/get.php?username=USER&password=PASS&type=m3u_plus&output=mpegts");BufferedReader in = new BufferedReader(new InputStreamReader(m3uUrl.openStream(), StandardCharsets.UTF_8)); This code fails in the first second line trying access to the m3uUrl. I don't know if the thread can help me or only refers to the incoming port. Thanks a lot
-
Wow, and is not possible to open it in my servlet? The URL cant change to other port?
-
My servlet is under the normal http port (80). The URL to download in my servlet is in the port 8000.
-
Hi, I created a java servlet to download a m3u file and manage the records. A exception is thrown when I try to download the URL. The URL is correct and the servlet runs successfull in others platforms: 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) java.net.Socket.connect(Socket.java:589) java.net.Socket.connect(Socket.java:538) sun.net.NetworkClient.doConnect(NetworkClient.java:180) sun.net.www.http.HttpClient.openServer(HttpClient.java:463) sun.net.www.http.HttpClient.openServer(HttpClient.java:558) sun.net.www.http.HttpClient.<init>(HttpClient.java:242) sun.net.www.http.HttpClient.New(HttpClient.java:339) sun.net.www.http.HttpClient.New(HttpClient.java:357) sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202) sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138) sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966) sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546) sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) java.net.URL.openStream(URL.java:1045) com.avz.servlets.MainServlet.generateTVFile(MainServlet.java:313) com.avz.servlets.MainServlet.doGet(MainServlet.java:54) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)