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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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

Reply via email to