Solved

url connection

Posted on 2004-09-19
2
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

627 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