Giter VIP home page Giter VIP logo

Comments (4)

jbf-insidesherpa avatar jbf-insidesherpa commented on July 28, 2024

@ankitmpatil you probably have a firewall open preventing you from accessing 8080. You can try the following workarounds:

  • temporarily turn off your firewall

  • open the datafeed/server.py in the repository using your code editor and look for the line where it says port = 8080. change that to port = 8085

  • open the src/DataStreamer.ts and change the line where it has 8080 to 8085

from jpmc-tech-task-1-py3.

YunLu95 avatar YunLu95 commented on July 28, 2024

Hi I'm having similar issue as I run server3.py, it hang there and doesn't continue, I tried change port to 8085 but I couldn't find Datastreamer.ts:
HTTP server started on port 8085
If I interrupt with ctrl-c will return:
^CTraceback (most recent call last):
File "server3.py", line 320, in
run(App())
File "server3.py", line 221, in run
sleep(1)
KeyboardInterrupt

from jpmc-tech-task-1-py3.

ankitmpatil avatar ankitmpatil commented on July 28, 2024

@ankitmpatil you probably have a firewall open preventing you from accessing 8080. You can try the following workarounds:

  • temporarily turn off your firewall
  • open the datafeed/server.py in the repository using your code editor and look for the line where it says port = 8080. change that to port = 8085
  • open the src/DataStreamer.ts and change the line where it has 8080 to 8085

@jbf-insidesherpa
Hey,
Thank you so much for your help. My issue got resolved now.
I appreciate your efforts.
Best,
Ankit Patil

from jpmc-tech-task-1-py3.

jbf-insidesherpa avatar jbf-insidesherpa commented on July 28, 2024

@YunLu95 sorry, for module 1 there is no DataStreamer.ts.
Instead just change the port in the client3.py (or client.py if you're in the python2.7.x version of the repository)
image

This means whatever other port you try to use here must be the same as the one you'll put in the server3.py (or server.py for the python2.7.x version).
image

from jpmc-tech-task-1-py3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.