You can translate the question and the replies:

Connection error: Connection refused connect

Dear All, good afternoon, how are you? **INTRO:** I would like to present you a strange issue I'm expecting with Denodo 7.0 Community edition on CentOS Linux release 7.8.2003 (Core) **SCENARIO DESCRIPTION** 1 Installation File downloaded from denodo community website 1 personal license 2 servers: 1. **SERVER A** = CentOS Linux release 7.8.2003 (Core) 2. **SERVER B**- CentOS Linux release 7.6.1810 (Core)) **ISSUE DESCRIPTION** In the Server 1-CentOS Linux release 7.8.2003 the vdpserver doesn't work properly. I retrieve **connection error: Connection refused: connect** error everytime I try to connect to the vdpserver. **ATTACHMENT DESCRIPTION** In the Server 1-CentOS Linux release 7.8.2003 the vdpserver doesn't work properly. I retrieve **connection error: Connection refused: connect** error everytime I try to connect to the vdpserver. **EXTRA INFO** 1. in additional to the standard installation (with standards port I tried to different port confiduration (9999 => 19999 / 9998 => 19998 ecc.) 2. either in local the connection doesn't work Log - vdp.log - SERVER A - **WORKING** ``` 679 [main] INFO 2020-08-07T12:57:17.480 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 719 [main] INFO 2020-08-07T12:57:17.520 server.start [] - TLS is disabled on incoming connections 761 [main] INFO 2020-08-07T12:57:51.413 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 800 [main] INFO 2020-08-07T12:57:51.452 server.start [] - TLS is disabled on incoming connections 687 [main] INFO 2020-08-07T12:58:01.168 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 731 [main] INFO 2020-08-07T12:58:01.212 server.start [] - TLS is disabled on incoming connections 699 [main] INFO 2020-08-07T12:58:08.684 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 738 [main] INFO 2020-08-07T12:58:08.723 server.start [] - TLS is disabled on incoming connections 688 [main] INFO 2020-08-07T12:58:23.238 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 728 [main] INFO 2020-08-07T12:58:23.278 server.start [] - TLS is disabled on incoming connections 682 [main] INFO 2020-08-07T12:58:29.948 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 724 [main] INFO 2020-08-07T12:58:29.990 server.start [] - TLS is disabled on incoming connections 656 [main] INFO 2020-08-07T13:00:01.415 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 695 [main] INFO 2020-08-07T13:00:01.454 server.start [] - TLS is disabled on incoming connections 640 [main] INFO 2020-08-07T13:00:08.128 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 677 [main] INFO 2020-08-07T13:00:08.165 server.start [] - TLS is disabled on incoming connections 803 [main] INFO 2020-08-07T13:00:47.178 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 845 [main] INFO 2020-08-07T13:00:47.220 server.start [] - TLS is disabled on incoming connections 6180 [main] ERROR 2020-08-07T13:00:52.555 com.denodo.util.logging.JavaConsoleLogging [] - Aug 07, 2020 1:00:52 PM sun.misc.ObjectInputFilter$Config lambda$static$0 6180 [main] ERROR 2020-08-07T13:00:52.555 com.denodo.util.logging.JavaConsoleLogging [] - INFO: Creating serialization filter from !org.mozilla.**;!org.apache.commons.**; 6847 [Thread-2] WARN 2020-08-07T13:00:53.222 com.denodo.tomcat.manager.TomcatManager [] - Unable to delete work directory content java.lang.IllegalArgumentException: /opt/denodo_standard/resources/apache-tomcat/work does not exist at org.apache.commons.io.FileUtils.verifiedListFiles(FileUtils.java:1699) ~[commons-io.jar:2.5] at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1674) ~[commons-io.jar:2.5] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:749) [denodo-tomcat.jar:7.0.6] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:659) [denodo-tomcat.jar:7.0.6] at com.denodo.vdb.management.tomcat.VDPTomcatManagement$1.run(Unknown Source) [denodo-vdp-server.jar:7.0.6] 6908 [Thread-2] INFO 2020-08-07T13:00:53.283 com.denodo.tomcat.manager.TomcatManager [] - Tomcat script launched with value 0 9585 [Thread-2] INFO 2020-08-07T13:00:55.960 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-restfulws' has been deployed. 10875 [Thread-2] INFO 2020-08-07T13:00:57.250 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-odata4-service' has been deployed. 10957 [Thread-2] INFO 2020-08-07T13:00:57.332 com.denodo.tomcat.manager.TomcatManager [] - 'export' has been deployed. 807 [main] INFO 2020-08-07T13:39:26.492 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 841 [main] INFO 2020-08-07T13:39:26.526 server.start [] - TLS is disabled on incoming connections 5447 [main] ERROR 2020-08-07T13:39:31.132 com.denodo.util.logging.JavaConsoleLogging [] - Aug 07, 2020 1:39:31 PM sun.misc.ObjectInputFilter$Config lambda$static$0 5447 [main] ERROR 2020-08-07T13:39:31.132 com.denodo.util.logging.JavaConsoleLogging [] - INFO: Creating serialization filter from !org.mozilla.**;!org.apache.commons.**; 6354 [Thread-2] INFO 2020-08-07T13:39:32.039 com.denodo.tomcat.manager.TomcatManager [] - Tomcat script launched with value 0 9365 [Thread-2] INFO 2020-08-07T13:39:35.050 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-restfulws' has been deployed. 10656 [Thread-2] INFO 2020-08-07T13:39:36.341 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-odata4-service' has been deployed. 10754 [Thread-2] INFO 2020-08-07T13:39:36.439 com.denodo.tomcat.manager.TomcatManager [] - 'export' has been deployed. 4851510 [main] INFO 2020-08-07T15:00:17.195 server.stop [] - Stopping Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 4851543 [Thread-3] INFO 2020-08-07T15:00:17.228 com.denodo.tomcat.manager.TomcatManager [] - Path '/denodo-data-catalog' is running... Tomcat will not be stopped 752 [main] INFO 2020-08-07T15:00:45.333 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 789 [main] INFO 2020-08-07T15:00:45.370 server.start [] - TLS is disabled on incoming connections 5048 [main] ERROR 2020-08-07T15:00:49.629 com.denodo.util.logging.JavaConsoleLogging [] - Aug 07, 2020 3:00:49 PM sun.misc.ObjectInputFilter$Config lambda$static$0 5048 [main] ERROR 2020-08-07T15:00:49.629 com.denodo.util.logging.JavaConsoleLogging [] - INFO: Creating serialization filter from !org.mozilla.**;!org.apache.commons.**; 5692 [Thread-2] INFO 2020-08-07T15:00:50.273 com.denodo.tomcat.manager.TomcatManager [] - Starting Web application 'denodo-restfulws' 5973 [Thread-2] INFO 2020-08-07T15:00:50.554 com.denodo.tomcat.manager.TomcatManager [] - Starting Web application 'denodo-odata4-service' 7118 [Thread-2] INFO 2020-08-07T15:00:51.699 com.denodo.tomcat.manager.TomcatManager [] - Starting Web application 'export' ``` Log - vdp.log - SERVER B - STANDARD PORTS - **NOT WORKING** **NOTA BENE:** from line 34 there is my attempt to close the connection via *Denodo Platform Control Center* ``` 1316 [main] INFO 2020-08-07T08:51:37.462 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1377 [main] INFO 2020-08-07T08:51:37.523 server.start [] - TLS is disabled on incoming connections 1294 [main] INFO 2020-08-07T08:51:42.481 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1360 [main] INFO 2020-08-07T08:51:42.547 server.start [] - TLS is disabled on incoming connections 1306 [main] INFO 2020-08-07T08:51:46.642 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1381 [main] INFO 2020-08-07T08:51:46.717 server.start [] - TLS is disabled on incoming connections 1365 [main] INFO 2020-08-07T08:51:56.065 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1425 [main] INFO 2020-08-07T08:51:56.125 server.start [] - TLS is disabled on incoming connections 1344 [main] INFO 2020-08-07T08:52:00.654 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1413 [main] INFO 2020-08-07T08:52:00.723 server.start [] - TLS is disabled on incoming connections 1343 [main] INFO 2020-08-07T08:52:05.424 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1417 [main] INFO 2020-08-07T08:52:05.498 server.start [] - TLS is disabled on incoming connections 1321 [main] INFO 2020-08-07T08:53:54.726 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1387 [main] INFO 2020-08-07T08:53:54.792 server.start [] - TLS is disabled on incoming connections 1371 [main] INFO 2020-08-07T08:53:59.367 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1449 [main] INFO 2020-08-07T08:53:59.445 server.start [] - TLS is disabled on incoming connections 1342 [main] INFO 2020-08-07T08:54:44.529 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1433 [main] INFO 2020-08-07T08:54:44.620 server.start [] - TLS is disabled on incoming connections 5025 [main] ERROR 2020-08-07T08:54:48.212 com.denodo.util.logging.JavaConsoleLogging [] - Aug 07, 2020 8:54:48 AM sun.misc.ObjectInputFilter$Config lambda$static$0 5026 [main] ERROR 2020-08-07T08:54:48.213 com.denodo.util.logging.JavaConsoleLogging [] - INFO: Creating serialization filter from !org.mozilla.**;!org.apache.commons.**; 6261 [Thread-2] WARN 2020-08-07T08:54:49.448 com.denodo.tomcat.manager.TomcatManager [] - Unable to delete work directory content java.lang.IllegalArgumentException: /opt/denodo_standard/resources/apache-tomcat/work does not exist at org.apache.commons.io.FileUtils.verifiedListFiles(FileUtils.java:1699) ~[commons-io.jar:2.5] at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1674) ~[commons-io.jar:2.5] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:749) [denodo-tomcat.jar:7.0.6] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:659) [denodo-tomcat.jar:7.0.6] at com.denodo.vdb.management.tomcat.VDPTomcatManagement$1.run(Unknown Source) [denodo-vdp-server.jar:7.0.6] 6417 [Thread-2] INFO 2020-08-07T08:54:49.604 com.denodo.tomcat.manager.TomcatManager [] - Tomcat script launched with value 0 10857 [Thread-2] INFO 2020-08-07T08:54:54.044 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-restfulws' has been deployed. 12844 [Thread-2] INFO 2020-08-07T08:54:56.031 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-odata4-service' has been deployed. 13026 [Thread-2] INFO 2020-08-07T08:54:56.213 com.denodo.tomcat.manager.TomcatManager [] - 'export' has been deployed. 1206 [main] FATAL 2020-08-07T08:57:59.171 com.denodo.util.launcher.ShutdownHandler [] - Unexpected error. Connection refused (Connection refused) java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_162] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_162] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_162] at java.net.Socket.connect(Socket.java:538) ~[?:1.8.0_162] at java.net.Socket.<init>(Socket.java:434) ~[?:1.8.0_162] at java.net.Socket.<init>(Socket.java:211) ~[?:1.8.0_162] at com.denodo.util.shutdown.ShutdownHandler.shutdown(ShutdownHandler.java:286) [denodo-commons-util.jar:7.0.6] at com.denodo.util.shutdown.ShutdownHandler.shutdown(ShutdownHandler.java:315) [denodo-commons-util.jar:7.0.6] at com.denodo.vdb.vdbinterface.server.Shutdown.main(Unknown Source) [denodo-vdp-server.jar:7.0.6] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162] at com.denodo.util.launcher.Launcher.invokeMain(Launcher.java:145) [denodo-commons-launcher-util.jar:7.0.6] at com.denodo.util.launcher.Launcher.main(Launcher.java:239) [denodo-commons-launcher-util.jar:7.0.6] ``` Log - vdp.log - SERVER B - CUSTOM PORTS (19999 / 19998..) - **NOT WORKING** **NOTA BENE:** from line 31 there is my attempt to close the connection via *Denodo Platform Control Center* ``` 1332 [main] INFO 2020-08-07T09:13:36.841 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1397 [main] INFO 2020-08-07T09:13:36.906 server.start [] - TLS is disabled on incoming connections 1323 [main] INFO 2020-08-07T09:13:42.035 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1387 [main] INFO 2020-08-07T09:13:42.099 server.start [] - TLS is disabled on incoming connections 1298 [main] INFO 2020-08-07T09:13:46.161 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1369 [main] INFO 2020-08-07T09:13:46.232 server.start [] - TLS is disabled on incoming connections 1350 [main] INFO 2020-08-07T09:13:55.437 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1415 [main] INFO 2020-08-07T09:13:55.502 server.start [] - TLS is disabled on incoming connections 1327 [main] INFO 2020-08-07T09:13:59.974 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1394 [main] INFO 2020-08-07T09:14:00.041 server.start [] - TLS is disabled on incoming connections 1381 [main] INFO 2020-08-07T09:14:03.946 server.start [] - Starting Denodo Platform 7.0 - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1464 [main] INFO 2020-08-07T09:14:04.029 server.start [] - TLS is disabled on incoming connections 1321 [main] INFO 2020-08-07T09:15:53.218 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1386 [main] INFO 2020-08-07T09:15:53.283 server.start [] - TLS is disabled on incoming connections 1311 [main] INFO 2020-08-07T09:15:57.749 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1377 [main] INFO 2020-08-07T09:15:57.815 server.start [] - TLS is disabled on incoming connections 1379 [main] INFO 2020-08-07T09:16:38.906 server.start [] - Starting Denodo Platform 7.0 20200310 - Process owner: root - Operating system: Linux (amd64) - Java(TM) SE Runtime Environment (build 1.8.0_162-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) 1448 [main] INFO 2020-08-07T09:16:38.975 server.start [] - TLS is disabled on incoming connections 4975 [main] ERROR 2020-08-07T09:16:42.502 com.denodo.util.logging.JavaConsoleLogging [] - Aug 07, 2020 9:16:42 AM sun.misc.ObjectInputFilter$Config lambda$static$0 4976 [main] ERROR 2020-08-07T09:16:42.503 com.denodo.util.logging.JavaConsoleLogging [] - INFO: Creating serialization filter from !org.mozilla.**;!org.apache.commons.**; 6123 [Thread-2] WARN 2020-08-07T09:16:43.650 com.denodo.tomcat.manager.TomcatManager [] - Unable to delete work directory content java.lang.IllegalArgumentException: /opt/denodo_standard_2/resources/apache-tomcat/work does not exist at org.apache.commons.io.FileUtils.verifiedListFiles(FileUtils.java:1699) ~[commons-io.jar:2.5] at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1674) ~[commons-io.jar:2.5] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:749) [denodo-tomcat.jar:7.0.6] at com.denodo.tomcat.manager.TomcatManager.startTomcat(TomcatManager.java:659) [denodo-tomcat.jar:7.0.6] at com.denodo.vdb.management.tomcat.VDPTomcatManagement$1.run(Unknown Source) [denodo-vdp-server.jar:7.0.6] 6297 [Thread-2] INFO 2020-08-07T09:16:43.824 com.denodo.tomcat.manager.TomcatManager [] - Tomcat script launched with value 0 10809 [Thread-2] INFO 2020-08-07T09:16:48.336 com.denodo.tomcat.manager.TomcatManager [] - 'denodo-restfulws' has been deployed. 1233 [main] FATAL 2020-08-07T09:16:49.091 com.denodo.util.launcher.ShutdownHandler [] - Unexpected error. Connection refused (Connection refused) java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_162] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_162] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_162] at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_162] at java.net.Socket.connect(Socket.java:538) ~[?:1.8.0_162] at java.net.Socket.<init>(Socket.java:434) ~[?:1.8.0_162] at java.net.Socket.<init>(Socket.java:211) ~[?:1.8.0_162] at com.denodo.util.shutdown.ShutdownHandler.shutdown(ShutdownHandler.java:286) [denodo-commons-util.jar:7.0.6] at com.denodo.util.shutdown.ShutdownHandler.shutdown(ShutdownHandler.java:315) [denodo-commons-util.jar:7.0.6] at com.denodo.vdb.vdbinterface.server.Shutdown.main(Unknown Source) [denodo-vdp-server.jar:7.0.6] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162] at com.denodo.util.launcher.Launcher.invokeMain(Launcher.java:145) [denodo-commons-launcher-util.jar:7.0.6] at com.denodo.util.launcher.Launcher.main(Launcher.java:239) [denodo-commons-launcher-util.jar:7.0.6] ``` Thank you for your time Regards Tiziano
user
07-08-2020 10:04:53 -0400

1 Answer

Hi, The error "connection error:Connection refused: connect" it is typically thrown if the VDP server is not started or the client machine cannot connect to the host and or ports of the specified server. In order to resolve the error "connection error:Connection refused: connect", I would validate the following: 1. Ensure you are running the Denodo Platform as administrator. You can start the VDP server either using the Control Center or the vqlserver_startup script located in <DENODOHOME>/bin. 2. When you launch the Denodo Virtual DataPort Administration Tool, check that the Server URI is pointing to the correct port of the Virtual DataPort Server. The URI for a default installation is //<hostname>:9999/admin. 3. Ensure that the port is not used by any other applications as it will block the connection. Virtual DataPort uses several ports for the server and the web container. The default ports are listed in ["Ports needed by VDP server"](https://community.denodo.com/kb/view/document/Ports%20needed%20by%20the%20VDP%20Server?category=Operation) KB article. 4. Make sure the firewall settings for ports allow incoming connections. Check whether you are able to [ping](https://community.denodo.com/docs/html/browse/7.0/scheduler/administration/appendix/use_of_the_ping_script) your <yourdenodoserverhostname> from the command line in your client machine. Check whether you are able to telnet <yourdenodoserverhostname> 9999 from the command line in your client machine. Hope this helps!
Denodo Team
10-08-2020 17:53:36 -0400
You must sign in to add an answer. If you do not have an account, you can register here