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 7916291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:45:13+00:00 2026-06-03T14:45:13+00:00

I have a server running at http://192.168.0.179 . It serves a flash file, WebSocketMain.swf

  • 0

I have a server running at http://192.168.0.179. It serves a flash file, WebSocketMain.swf (from https://github.com/gimite/web-socket-js), which tries to do a socket connection to 192.168.0.179:5000. I also have a socket policy file server running at 192.168.0.179:843.

This works fine on the machine the server is running on (running OS X). On that machine, Flash connects to the policy file server and then to the WebSocket server at port 5000. However, on a Windows (64-bit) machine on the same network (192.168.0.175), running Flash 10.3/11.2/11.3 (and in both IE9/Chrome), I get the following error message in the JS console:

LOG: [WebSocket] debug enabled

LOG: [WebSocket] policy file: xmlsocket://192.168.0.179:843

[WebSocket] cannot connect to Web Socket server at ws://192.168.0.179:5000/websockettest (SecurityError: Error #2048: Security sandbox violation: http://192.168.0.179/assets/flash/WebSocketMain.swf cannot load data from 192.168.0.179:5000.) make sure the server is running and Flash socket policy file is correctly placed

LOG: [WebSocket] closed

According to tcpdump and the policy server log on the server machine, Flash Player does not even connect to the policy server at 192.168.0.179. 192.168.0.179:843 is open from the .175 machine, so there should be no problem for FP to connect to it. I can connect to it through a terminal client (such as PuTTY) from the .175 machine and receive the policy file without a problem. Just to be sure I also disabled the Windows Firewall, also with no effect.

I have tried modifying WebSocketMain.swf to calling Security.loadPolicyFile() explicitly and not calling it at all, with no effect. I have also tried adding Security.allowDomain(“*”) in the code. Still nothing. I even tried modifying the URL to which FP will connect to (which is served by the web server) to 192.168.0.179:80. Nothing. 192.168.0.179:10000 doesn’t work either. Even 127.0.0.1 and localhost doesn’t work, giving the same error message

What could possibly be causing this? Why won’t FP even try to connect to the policy server?

  • 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-06-03T14:45:17+00:00Added an answer on June 3, 2026 at 2:45 pm

    Found the problem: There was a global configuration file mms.cfg on the machine that set DisableSockets=1. This casued the SecurityError and prevented Flash Player from connecting to the policy file server. Set it to 0 (which is the default) and everything worked. For details on this file, see http://www.adobe.com/content/dam/Adobe/en/devnet/flash/articles/flash_player_admin_guide/flash_player_admin_guide.pdf Chapter 4.

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

Sidebar

Related Questions

I have my Apache http server running on localhost:80 and restlet server on localhost:8182,
I am running a HTTP server on my development machine. I have a website,
I am running a subversion server with access via http using webdav. I have
I have several instances of my project running on my server, like so: http://0.0.0.0/one
I have development server (from google appengine sdk), running on my Ubuntu computer. I
Just trying to get simple http server running and have no clue about ruby
I have an apache web server running an HTTP daemon on port 80. This
Here's what we want to achieve. we have a http server running on a
I have a server running at http://localhost:9080 but the http clients are sending the
I have a server running a 3gb JVM with a 750 meg permgen space.

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.