I don't remember if I found the answer to the question. It turned out
that the firewall was set up to block every outbound request for
security reasons and I had to abandon the code. You might want to see
if the problem is with a firewall instead of with ColdFusion.

-Mike Chabot

On 7/16/07, Michael Falk <[EMAIL PROTECTED]> wrote:
> >I am trying to use the com.sun.jndi.dns.DnsContextFactory to check
> >whether a DNS MX record exists, but I get this error when I run the
> >code in a CF sandbox:
> >
> >Error: access denied (java.net.SocketPermission localhost:1024- 
> >listen,resolve)
> >
> >Even if I set up a sandbox with no special restrictions, it still
> >fails. The code works fine outside of a sandbox.
> >
> >Any ideas?
> >
> >Thank you,
> >Mike Chabot
>
> Mike -
>
> I'm getting an identical error message trying to use cfftp to send a txt file 
> to a client. I didn't see any responses to your post. Were you ever able to 
> resolve the problem?
>
> Thanks.
>
> Michael
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283806
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to