predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amal kumar <amal.kmr.si...@gmail.com>
Subject Unable to Access Event Server or Engine from Web Browser (Outside SSH)
Date Tue, 04 Oct 2016 11:39:51 GMT
Hi Team,

Hello,

I have installed the PredictionIO on EC2, using the below reference
http://predictionio.incubator.apache.org/install/install-linux/

Event server is started with command  to serve the glolab traffic
pio eventserver 0.0.0.0 &


Also, I have deployed PredictionIO template i.e.
http://predictionio.incubator.apache.org/templates/recommendation/quickstart/
using the command to serve the global traffic i.e.
pio deploy --ip 0.0.0.0 &


Now, I am able to connect to  Event Server (port : 7070) from SSH
curl -i -X GET http://localhost:7070

HTTP/1.1 200 OK
Server: spray-can/1.3.3
Date: Tue, 04 Oct 2016 11:31:44 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 18

{"status":"alive"}


Also, I am able to connect to  Engine (port : 8000) from SSH:
curl -k -H "Content-Type: application/json" -d '{ "user": "1", "num": 2 }'
https://localhost:8000/queries.json
{"itemScores":[{"item":"8","score":8.775522559547664},{"item":"55","score":7.826485976992348}


But, I am not able to access Event Server (port : 7070) or Engine (port :
8000) from Outside web brower.

Error:
Connection Refused


Can you please help.



Thanks,
Amal Kumar

Mime
View raw message