Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7493937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:14:31+00:00 2026-05-29T17:14:31+00:00

for some reason my server that uses socket.io is not working properly. The program

  • 0

for some reason my server that uses socket.io is not working properly. The program makes a HTML5 canvas and then opens sockets so that multiple people can view one canvas. I can get the canvas to draw stuff accordingly to input, however I can’t get the socket.io to run correctly so that browsers synchronize the drawings. I am running this on ec2. Any help is appreciated:)

I wrote the server in node.js

server.js
http://pastebin.com/hH51DTb3

index.html
http://pastebin.com/b7PrScze

scripts.js
http://pastebin.com/zLgDf7zs

Oh, and btw you can view what it looks like here: http://107.20.163.241/

EDIT: Yes KaoD of course I have tried things. I’ve tried uninstalling and reinstalling socket.io, I’ve tried moving the project folder to different directory locations, I’ve tried moving the socket.io to an external folder, and a few others that I can’t seem to remember atm

Minimum test case is if both people go to the same site, they will both in real time see each other draw

CHANGING THE SECURITY GROUP WORKED, THANK YOU.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:14:33+00:00Added an answer on May 29, 2026 at 5:14 pm

    The problem was that my security group was not configured to allow port 4000. Thanks to fourk for suggesting the fix.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a firefox extensions that makes uses a lot of external
I have some forms that communicate with server using AJAX for real reasons: cascade
My server for some reason displays .AIR file inside the browser, but I want
For some reason beyond me I can't access the mysql server on a machine.
For some reason when I download a zip folder from my server's folder it
For some reason, the Server control menu disappeared. The only menu appears on the
For some reason, when I try to install SQL Server 2008 Express , I
i already had 2008 express sql server but for some reason it came without
I just got a dedicated server from a hosting company, and for some reason,
For some reason I never see this done. Is there a reason why not?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.