Required ports
Hektor
New Altair Community Member
Answers
-
Hi,
to access the Web interface and to connect RapidMiner to RapidAnalytics port 8080 is the only port you need by default, but you can change that to anything, including 80, in the installer as well. (Note that you must be root on linux to allow port 80.)
Best,
Simon0 -
Hello,
What can be the problem?
80 and 8080 are allowed.
http://XXX.XXX.XXX.XXX:8080/RAWS/RepositoryService?wsdl
<soap:address location="http://XXX.XXX.XXX.XXX:8080/RAWS/RepositoryService"/>
Thanks,
Peter0 -
Hi,
can you access the Web interface? If that works, but you cannot access the Web interface, you maybe specified a hostname in the installer that does not resolve probably in your VPN? What is in the XXX? Does that work on your client?
Best,
Simon0 -
Hi,
Everything works fine:
- The adress in wsld is correct <soap:address location="http://mining.fei.tuke.sk:8080/RAWS/RepositoryService"/>
- I can access RA through web interface http://147.232.5.198:8080/RA/faces/restricted/index.xhtml
- I can access the remote repository from my home PC with VPN
I cannot access it without VPN:Exception: com.rapidminer.repository.RepositoryException
Message: Cannot connect to http://mining.fei.tuke.sk:8080: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://mining.fei.tuke.sk:8080/RAWS/RepositoryService?wsdl. It failed with:
Connection timed out: connect.
Stack trace:
com.rapidminer.repository.remote.RemoteRepository.getRepositoryService(RemoteRepository.java:342)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.getSubfolders(RemoteFolder.java:146)
com.rapidminer.repository.gui.RepositoryTreeModel$3.run(RepositoryTreeModel.java:195)
Cause
Exception: javax.xml.ws.WebServiceException
Message: Failed to access the WSDL at: http://mining.fei.tuke.sk:8080/RAWS/RepositoryService?wsdl. It failed with:
Connection timed out: connect.
Stack trace:
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
javax.xml.ws.Service.<init>(Unknown Source)
com.rapid_i.repository.wsimport.RepositoryService_Service.<init>(RepositoryService_Service.java:42)
com.rapidminer.repository.remote.RemoteRepository.getRepositoryService(RemoteRepository.java:332)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.getSubfolders(RemoteFolder.java:146)
com.rapidminer.repository.gui.RepositoryTreeModel$3.run(RepositoryTreeModel.java:195)
Cause
Exception: java.net.ConnectException
Message: Connection timed out: connect
Stack trace:
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
sun.net.NetworkClient.doConnect(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.<init>(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
java.net.URL.openStream(Unknown Source)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Unknown Source)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unknown Source)
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
javax.xml.ws.Service.<init>(Unknown Source)
com.rapid_i.repository.wsimport.RepositoryService_Service.<init>(RepositoryService_Service.java:42)
com.rapidminer.repository.remote.RemoteRepository.getRepositoryService(RemoteRepository.java:332)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.getSubfolders(RemoteFolder.java:146)
com.rapidminer.repository.gui.RepositoryTreeModel$3.run(RepositoryTreeModel.java:195)0 -
Hi,
sorry, I don't think we can diagnose your problem from here. If you can access the WSDL, everything is fine. If it works with VPN, but doesn't without, then this may indicate that you are not supposed to be able to access it without VPN. Port 8080 is the only one involved (but you can of course change that).
Best,
Simon
(Once again, to clarify: I assume that you can neither use the Web interface nor the connection via RM without VPN. If both behave the same, it's a problem with your VPN. If both behave differently, it's a problem with RA I guess.)0