bibs2091 / Anomaly-detection-system

Machine learning based Intrusion detection system (IDS)
47 stars 16 forks source link

Connection Refused #17

Open itsomkathe opened 1 year ago

itsomkathe commented 1 year ago

Hello,

I'm using Windows 10 and Docker to run the project. I've created images for both the dockerfiles (with some updates in gradle version). Now when I run docker-compose up, the python server says running on port 7777, but the CICFlowMeter says refused to connect. Here is my CMD

Capture2

When I run docker-compose ps, I do not see any ports n both the images.

Capture3

But docker desktop lists the post as below

Capture4

I'm new to docker. So please help me out to resolve this issue. Thanks.

bibs2091 commented 1 year ago

We are aware of the issue in docker-compose. sadly my colleague who's expert in docker and made this part of the code is no longer working in this project. I encourage you to make your own docker image.

souravs17031999 commented 1 year ago

@bibs2091 @itsomkathe I am running on my local system, even then I am getting following exceptions and program seems to get stucked on this place :

> Configure project :
type Jar
type JavaExec

> Task :execute
java.net.ConnectException: Connection refused (Connection refused)

0
java.net.ConnectException: Connection refused (Connection refused)
enp0s31f6
cic.cs.unb.ca.flow.ui.FlowMonitorPane path:/home/eis-jenkins/soukum/mnt/git/Anomaly-detection-system/CICFlowMeter-master/data/daily/0_Flow.csv
enp0s31f6
cic.cs.unb.ca.flow.ui.FlowMonitorPane path:/home/eis-jenkins/soukum/mnt/git/Anomaly-detection-system/CICFlowMeter-master/data/daily/0_Flow.csv
<=========----> 75% EXECUTING [16m 36s]
> :execute

and Python flask server printing continuosly

GET /socket.io/?EIO=3&transport=polling&t=OQHL4nh HTTP/1.1" 400 -

Can you help me out here if I am missing something ?