Solved

url connection

Posted on 2004-09-19
2
160 Views
Last Modified: 2010-03-31
            java.net.URL helpURL = new
             java.net.URL("http://home.singtel.com/consumer/msg_center/internet_sms.asp");

I'm trying to connect to the above site.
But i'm currently under a firewall in my school and i can't get the connection to that site.
But when i'm at home, it works well.
Can anyone help? thanks.
0
Comment
Question by:TPoly
  • 2
2 Comments
 
LVL 92

Expert Comment

by:objects
ID: 12099076
Is port 80 blocked by the school firewall?
Or are you also trying to make connections on other ports.

Whats the stack trace for the error?
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 12099083
And check the proxy settings used by the browser and set your app to use the same.

http://www.jguru.com/faq/view.jsp?EID=9920
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now