<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: AS3 + Java: Socket connections to ports below 1024</title>
	<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/</link>
	<description>Lessrain Blog</description>
	<pubDate>Wed, 08 Feb 2012 22:24:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Mit XMLSocket auf lokalen Port zugreifen - Flashforum</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-141638</link>
		<dc:creator>Mit XMLSocket auf lokalen Port zugreifen - Flashforum</dc:creator>
		<pubDate>Fri, 22 Jul 2011 22:33:13 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-141638</guid>
		<description>&lt;p&gt;[...] mit Hilfe von lessrain blog » Blog Archive » AS3 + Java: Socket connections to ports below 1024 und seinem Policy Server bin ich jetzt soweit, dass ich eine Verbindung zwischen dem Policy server [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[&#8230;] mit Hilfe von lessrain blog » Blog Archive » AS3 + Java: Socket connections to ports below 1024 und seinem Policy Server bin ich jetzt soweit, dass ich eine Verbindung zwischen dem Policy server [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saurabh</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140751</link>
		<dc:creator>saurabh</dc:creator>
		<pubDate>Tue, 21 Sep 2010 17:30:57 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140751</guid>
		<description>&lt;p&gt;Hi,
i have made an application using java as backend and flash as3 frontend.
There is an issue of not being shown the second last connection to last user.&lt;/p&gt;

&lt;p&gt;Ex- We make the three connection consecutive and it is working well. When, we make the fourth connection, the third connection is not being shown to the last connection while other two connection is being shown well to him, even, the last connection is being shown well to all users... I don't know what is the reason while I have checked every code and there is not any checks of it. &lt;/p&gt;

&lt;p&gt;Please help to fix this issue.........&lt;/p&gt;

&lt;p&gt;Regards,
Saurabh&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i have made an application using java as backend and flash as3 frontend.<br />
There is an issue of not being shown the second last connection to last user.</p>
<p>Ex- We make the three connection consecutive and it is working well. When, we make the fourth connection, the third connection is not being shown to the last connection while other two connection is being shown well to him, even, the last connection is being shown well to all users&#8230; I don&#8217;t know what is the reason while I have checked every code and there is not any checks of it. </p>
<p>Please help to fix this issue&#8230;&#8230;&#8230;</p>
<p>Regards,<br />
Saurabh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flash Socket crossdomain.xml &#171; true lies</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140419</link>
		<dc:creator>Flash Socket crossdomain.xml &#171; true lies</dc:creator>
		<pubDate>Mon, 05 Apr 2010 16:56:13 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140419</guid>
		<description>&lt;p&gt;[...] http://www.blog.lessrain.com/â€¦-below-1024/ [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://www.blog.lessrain.com/" rel="nofollow">http://www.blog.lessrain.com/</a>â€¦-below-1024/ [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradip Jadhav</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140095</link>
		<dc:creator>Pradip Jadhav</dc:creator>
		<pubDate>Fri, 05 Feb 2010 08:26:34 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-140095</guid>
		<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am facing a big problem right now. I am developing FLEX application having PHP as server technology. And this application is connected with another java application. &lt;/p&gt;

&lt;p&gt;There is one java web services which is used to check user's account details while login into system.&lt;/p&gt;

&lt;p&gt;Now what i want to do is i want to call that web service from my flex application.&lt;/p&gt;

&lt;p&gt;But while calling that services network's security error is coming. I am not getting how to resolve this.&lt;/p&gt;

&lt;p&gt;I tried using cross domain service but didn't solve that issue :(&lt;/p&gt;

&lt;p&gt;So will you please help me to solve out this problem?&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;

&lt;p&gt;Regards,
Pradip Jadhav&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am facing a big problem right now. I am developing FLEX application having PHP as server technology. And this application is connected with another java application. </p>
<p>There is one java web services which is used to check user&#8217;s account details while login into system.</p>
<p>Now what i want to do is i want to call that web service from my flex application.</p>
<p>But while calling that services network&#8217;s security error is coming. I am not getting how to resolve this.</p>
<p>I tried using cross domain service but didn&#8217;t solve that issue <img src='http://www.blog.lessrain.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>So will you please help me to solve out this problem?</p>
<p>Thanks in advance.</p>
<p>Regards,<br />
Pradip Jadhav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gewy</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139474</link>
		<dc:creator>Gewy</dc:creator>
		<pubDate>Wed, 07 Oct 2009 13:20:46 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139474</guid>
		<description>&lt;p&gt;Well, finally I am able to explain the problem. I don't really know if it is a bug or not...
I confirm that connections on port 80 are processed in a special way because the CONNECT event is dispatched nevertheless no TCP packet are sent to the server. The situation is that client appears to be connected but server don't have any connection for this client.
Anyway when you write data on this socket a real connection is established and data are correctly processed.
But there is one thing that is not working with port 80 : serving the policy file request on the same port than the connection.
I am using a multiplexer server which serves various protocols on the same port. So it is why my connection on port 80 never works, because the policy file request was not processed.
If I set a policy file server on port 843 (default port used by Flash Player) I can use port 80 for my binary protocol.
Quite strange, anyway...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, finally I am able to explain the problem. I don&#8217;t really know if it is a bug or not&#8230;<br />
I confirm that connections on port 80 are processed in a special way because the CONNECT event is dispatched nevertheless no TCP packet are sent to the server. The situation is that client appears to be connected but server don&#8217;t have any connection for this client.<br />
Anyway when you write data on this socket a real connection is established and data are correctly processed.<br />
But there is one thing that is not working with port 80 : serving the policy file request on the same port than the connection.<br />
I am using a multiplexer server which serves various protocols on the same port. So it is why my connection on port 80 never works, because the policy file request was not processed.<br />
If I set a policy file server on port 843 (default port used by Flash Player) I can use port 80 for my binary protocol.<br />
Quite strange, anyway&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139191</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 24 Sep 2009 09:11:23 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139191</guid>
		<description>&lt;p&gt;@Gewy not sure I can help with anything else than what I describe in this post.. is the Flash app requesting the policy file as described above? In my example (which is currently not working) I do in fact connect to port 80 and get a successful connection to Apache. So it should work with the policy server.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Gewy not sure I can help with anything else than what I describe in this post.. is the Flash app requesting the policy file as described above? In my example (which is currently not working) I do in fact connect to port 80 and get a successful connection to Apache. So it should work with the policy server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gewy</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139056</link>
		<dc:creator>Gewy</dc:creator>
		<pubDate>Wed, 26 Aug 2009 22:35:31 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139056</guid>
		<description>&lt;p&gt;Hi,
This post is very interesting as, may be, you could give me the answer I am waiting for... 
I spent a lot of time to refactor my server application so it can serve HTTP and my proprietary binary protocol on the same port, and the policy-file-request as well. So I don't need to deploy an HTTP server and all the connections are made on port 80, the default HTTP port, which is generally not blocked by firewall.
Unfortunatly at the end of my work I realized that the flash socket component has some limitation on using port 80.
I thaught it was a bug (I made a bug report https://bugs.adobe.com/jira/browse/FP-1866).
But without any success...
CONNECT event is fire every time but in fact there is no connection. Packet sniffing doesn't show any packet sent by Flash application. I am quite sure of what I found. So either you are able to make it working, and I am really very stupid, or.... I hope you have an answer.
Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This post is very interesting as, may be, you could give me the answer I am waiting for&#8230;<br />
I spent a lot of time to refactor my server application so it can serve HTTP and my proprietary binary protocol on the same port, and the policy-file-request as well. So I don&#8217;t need to deploy an HTTP server and all the connections are made on port 80, the default HTTP port, which is generally not blocked by firewall.<br />
Unfortunatly at the end of my work I realized that the flash socket component has some limitation on using port 80.<br />
I thaught it was a bug (I made a bug report <a href="https://bugs.adobe.com/jira/browse/FP-1866" rel="nofollow">https://bugs.adobe.com/jira/browse/FP-1866</a>).<br />
But without any success&#8230;<br />
CONNECT event is fire every time but in fact there is no connection. Packet sniffing doesn&#8217;t show any packet sent by Flash application. I am quite sure of what I found. So either you are able to make it working, and I am really very stupid, or&#8230;. I hope you have an answer.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139032</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 21 Aug 2009 10:04:47 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-139032</guid>
		<description>&lt;p&gt;@Fighterlegend and @all - the policy server in our example currently doesn't work because we moved servers. we'll try to fix it as soon as we can. sorry about that..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Fighterlegend and @all - the policy server in our example currently doesn&#8217;t work because we moved servers. we&#8217;ll try to fix it as soon as we can. sorry about that..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fighterlegend</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138937</link>
		<dc:creator>Fighterlegend</dc:creator>
		<pubDate>Fri, 31 Jul 2009 04:08:48 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138937</guid>
		<description>&lt;p&gt;I have a problem.&lt;/p&gt;

&lt;p&gt;The server times out almost 10 seconds right after I connect to it.&lt;/p&gt;

&lt;p&gt;Is this right? It's not being cool with me &#62;=(&lt;/p&gt;

&lt;p&gt;I'm going to try some other stuff, but please reply to me.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have a problem.</p>
<p>The server times out almost 10 seconds right after I connect to it.</p>
<p>Is this right? It&#8217;s not being cool with me &gt;=(</p>
<p>I&#8217;m going to try some other stuff, but please reply to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: walber</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138931</link>
		<dc:creator>walber</dc:creator>
		<pubDate>Tue, 28 Jul 2009 21:49:00 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138931</guid>
		<description>&lt;p&gt;what solution for connections with proxy (squid)?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>what solution for connections with proxy (squid)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138873</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Wed, 15 Jul 2009 23:26:01 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138873</guid>
		<description>&lt;p&gt;Hey dude... Your solution worked for me, i spent the whole day trying to make that socket connection but I found your post and i did it.&lt;/p&gt;

&lt;p&gt;pd. I implemented your solution on my c# server, i didn't use java.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey dude&#8230; Your solution worked for me, i spent the whole day trying to make that socket connection but I found your post and i did it.</p>
<p>pd. I implemented your solution on my c# server, i didn&#8217;t use java.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Brown</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138723</link>
		<dc:creator>Michael Brown</dc:creator>
		<pubDate>Mon, 25 May 2009 05:00:37 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138723</guid>
		<description>&lt;p&gt;IMPORTANT INFO: For me, I wrote my own socket server and it was not working when I sent the proper policy file after receiving the xml policy request. The response HAS to be null terminated! After sticking the ol'  char in at the end, the flash app worked.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>IMPORTANT INFO: For me, I wrote my own socket server and it was not working when I sent the proper policy file after receiving the xml policy request. The response HAS to be null terminated! After sticking the ol&#8217;  char in at the end, the flash app worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kikko</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138683</link>
		<dc:creator>kikko</dc:creator>
		<pubDate>Sat, 02 May 2009 23:48:04 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138683</guid>
		<description>&lt;p&gt;Hey thanks Thomas, that post just helped a lot&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey thanks Thomas, that post just helped a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138663</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 24 Apr 2009 07:53:41 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138663</guid>
		<description>&lt;p&gt;I haven't tested in AIR, but do you have asocket-server running that returns the policy file? A file served by your web server won't help, it has to come through a socket.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tested in AIR, but do you have asocket-server running that returns the policy file? A file served by your web server won&#8217;t help, it has to come through a socket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138351</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Thu, 19 Mar 2009 16:18:12 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138351</guid>
		<description>&lt;p&gt;Have you tested this using Adobe Air?  I have created a policy file server similar to yours but have not been able to see the  come through. Any help here would be appreciated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Have you tested this using Adobe Air?  I have created a policy file server similar to yours but have not been able to see the  come through. Any help here would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Page</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138164</link>
		<dc:creator>Stuart Page</dc:creator>
		<pubDate>Fri, 27 Feb 2009 16:31:13 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138164</guid>
		<description>&lt;p&gt;ok nvm for some reason i cant  post the string... nor can i delete my previous comment.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ok nvm for some reason i cant  post the string&#8230; nor can i delete my previous comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Page</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138162</link>
		<dc:creator>Stuart Page</dc:creator>
		<pubDate>Fri, 27 Feb 2009 16:29:19 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-138162</guid>
		<description>&lt;p&gt;Hey I have implemented what you have said but it wont work. Flash will never reconnect and fire the connect event. 
Im using this string:&lt;/p&gt;

&lt;p&gt;String policy = "";&lt;/p&gt;

&lt;p&gt;and then i do this
connection.getBufferedWriter().write(policy);
do i need to somehow end with  a null byte? Is my string syntax wrong? do i need to reprogram my flash program with something other than just the new socket? Should this work and the error must be somewhere else?&lt;/p&gt;

&lt;p&gt;More details at my blog at http://tinyurl.com/cwjrp9 &lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey I have implemented what you have said but it wont work. Flash will never reconnect and fire the connect event.<br />
Im using this string:</p>
<p>String policy = &#8220;&#8221;;</p>
<p>and then i do this<br />
connection.getBufferedWriter().write(policy);<br />
do i need to somehow end with  a null byte? Is my string syntax wrong? do i need to reprogram my flash program with something other than just the new socket? Should this work and the error must be somewhere else?</p>
<p>More details at my blog at <a href="http://tinyurl.com/cwjrp9" rel="nofollow">http://tinyurl.com/cwjrp9</a> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fusion</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137996</link>
		<dc:creator>fusion</dc:creator>
		<pubDate>Thu, 18 Dec 2008 07:36:06 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137996</guid>
		<description>&lt;p&gt;Hi im trying to create a new jar file for the java policy server, but the when i try to run say incorrect jar file. Im new in java so i dont know nothing about it. Im triying to put custom ips for the policy server, can some 1 tech me how to edit and create the jar file please.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi im trying to create a new jar file for the java policy server, but the when i try to run say incorrect jar file. Im new in java so i dont know nothing about it. Im triying to put custom ips for the policy server, can some 1 tech me how to edit and create the jar file please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stella856</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137923</link>
		<dc:creator>stella856</dc:creator>
		<pubDate>Tue, 25 Nov 2008 16:59:25 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137923</guid>
		<description>&lt;p&gt;thank you for your java socket ! I tried everything with crossdomain.xml file on my server, but nothing works... your socket worked at the first time ! thank you !&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thank you for your java socket ! I tried everything with crossdomain.xml file on my server, but nothing works&#8230; your socket worked at the first time ! thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis L</title>
		<link>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137798</link>
		<dc:creator>Luis L</dc:creator>
		<pubDate>Sun, 19 Oct 2008 22:20:51 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/#comment-137798</guid>
		<description>&lt;p&gt;I don't know why the flash client inside a web app is not working when I run it from another place of the network and it gets this error&lt;/p&gt;

&lt;p&gt;Security error[SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"]&lt;/p&gt;

&lt;p&gt;It do work when I run it from the server where the policy server is.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why the flash client inside a web app is not working when I run it from another place of the network and it gets this error</p>
<p>Security error[SecurityErrorEvent type=&#8221;securityError&#8221; bubbles=false cancelable=false eventPhase=2 text=&#8221;Error #2048&#8243;]</p>
<p>It do work when I run it from the server where the policy server is.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

