Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Finding Open HTTP port

Posted on 2004-09-30
11
Medium Priority
?
142 Views
Last Modified: 2012-05-05
I am using Indy HTTP Server for a small image server. This program is for anyone to download and I would like it to find an open HTTP port by itself. Most ISPs have port 80 blocked and even if I assign something static (which is what I currently do) some ISPs block it. So what I would like is for my program to scan ports for one that will allow it to host a HTTP server.
0
Comment
Question by:LiquidIce911
[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
11 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12191866
If your ISP blocked port 80 then you're not supposed to have a webserver at home. That would be against the ISP policy and would be a good reason for you to lose your Internet account. So, only one solution: go to an ISP that does allow you to host webpages at home...
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12191873
Btw. Port 80 is the only HTTP port. Other ports are used for other purposes. (Like email on 25 and 110, or FTP at 21.)
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 12194526
I thought that port 8080 could be used as an alternative?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:LiquidIce911
ID: 12194727
well I can do http://ipaddress:portnumber thats not a problem. It's not really for a web server it's just to host one image out of somebodies webcam, which is perfectly fine with most ISPs policies.
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12194730
moorhouselondon: some ISPs block port 8080 too.
0
 
LVL 13

Expert Comment

by:BlackTigerX
ID: 12214659
you can mount a http server in any port

it may not be the standard way to do it, but you CAN put a http server in almost any port...

you can just change the port and try to activate the http listening on that port, if that doesn't work go to the next port and so on...
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12218523
BlackTigerX is right, technically speaking. You can set up a webserver to use any port, not just port 80 or 8080. Problem is, however, that if an ISP has blocked port 80 (or 8080) then it's very likely that they've blocked most other ports too. I'd assume they would just block everything, preventing all incoming traffic. You'd still have the outgoing traffic working fine for you, though. And perhaps some very high port number is available...
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12220718
The problem is I can start the server on any port but the traffic will be blocked so there is no error or anything, it just doesn't work. Most ISPs will block the main ports but have some other opened but they are different. For example, my ISP allows port 720 while a friends allows 8181. I would like the software to somehow look for a port by itself perhaps do some kind of a test to see if the traffic is going through that port and if not, move on to the next one.
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12290393
I fixed my problem by making the program open a port then linked it to my website with a PHP script. The PHP script uses fsockopen to check if the port is open then relay the information back to the program.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12381009
Question answered by asker or dialog valuable.
Closed, 175 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

636 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