rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Deepfriedluigi on September 29, 2003, 07:46:06 AM

Title: Cannot Open Port :(
Post by: Deepfriedluigi on September 29, 2003, 07:46:06 AM
:(  Before i reformatted, i was connected through my ethernet card on cable modem, hfs worked like a dream, after i reformatted, i couldnt get my ethernet card to work, so i had to hook my cable modem up through usb, and surprisingly, usb seems faster to me, however, whenever i try to load hfs and switch the server to on it says "cannot open port" i've tried tons of ports, and tried letting it choose it's own port but, same thing happens all the time, i'm not behind a firewall that i know of, unless windows xp defaults one.
Title: Cannot Open Port :(
Post by: rejetto on September 29, 2003, 10:12:36 AM
i have no idea about your problem
i fear it is not related to HFS: can you run another server software on your system ?
Title: Cannot Open Port :(
Post by: Anonymous on September 29, 2003, 08:40:50 PM
yes, i can run cerberus ftp just fine, and also i can run apache web server, with php, perl, cgi, mySQL, just fine, i also,  fear that its not related at all to HFS because it worked fine before the modem incident, i was just wondering if maybe you have to be connected through an ethernet card or something in order to work it? :(??
Title: Cannot Open Port :(
Post by: o0ACE0o on October 01, 2003, 11:30:31 PM
I hope you figure out what the problem is.
I'm getting the exact same thing "cannot open port".

I did nothing out of the usual.  I rebooted my computer this morning and HFS is the only thing that doesn't work..  It's really really wierd I wonder if a new virus is going around?

I have not installed any new software since this happened. :(
Title: Cannot Open Port :(
Post by: rejetto on October 02, 2003, 09:32:19 AM
are you using the last release?
can you check if a port is free?
you could use netstat
Title: Cannot Open Port :(
Post by: o0ACE0o on October 02, 2003, 03:55:07 PM
Deepfriedluigi are you using trillian, Gaim, or any other type of "all in one" instant messengers?

I'm using trillian and after I rebooted my computer and HFS stopped working, I noticed the settings for the trillian are all messed up. I restored it from a backup and connected. I instantly received 2 urgent messages from MSN & Yahoo stating that if you are using an all in one messenger then you should discontinue because there has been malicious port attacks to these people.  I'm wondering if that is what happened?  I'm not totally sure as of right now.  I've spent 2 days straight trying to figure out this problem but I think I'm going to abandon the quest and reload windows.  :(

rejetto:
I'm running HFS 1.5rc12 but I get the same exact problem in all previous versions as well.

Is there anything specific that I should know as to how HFS connects using TCP? I don't think it's a port problem but more along the lines of a connectivity problem. I say this because when I click 'Check for news/updates" I receive the error message "Can't connect, can't check".

I've tried other http servers and all of them seem to work with no problems. As of now I have absolutely no idea why HFS is the only program that cannot connect. I'm going to review the source code now to see if I can find exactly what is going on.

I personally think the problem may be a new type of virus, Trojan horse, or a TCP port attack but I did a full Norton virus scan and it found nothing. **I'm Baffled**....  :?:

I'll report back if and when I find something new.
Title: Cannot Open Port :(
Post by: Rafi on October 02, 2003, 05:23:37 PM
Try in DOS :

              netstat -a  | more

and see if the port is not occupied .
Title: Cannot Open Port :(
Post by: rejetto on October 02, 2003, 05:36:24 PM
hey boys, it happened to me today at office.
it seems it is a problem regarding my software.
it could be related to the wsocket lib i use.
i don't know yet.
i will investigate
Title: Cannot Open Port :(
Post by: o0ACE0o on October 03, 2003, 04:19:30 PM
Refetto:

What version of wsocket lib did you use to write HFS on?
Title: Cannot Open Port :(
Post by: rejetto on October 03, 2003, 11:44:37 PM
Revised: July 19, 2002 (Delphi 7 Update)

it appears to be the latest
Title: Cannot Open Port :(
Post by: rejetto on October 04, 2003, 12:17:25 AM
hey! it stopped working on my office computer when i installed symantec/norton antivirus
could it be that?
luigi does use it?
Title: Cannot Open Port :(
Post by: o0ACE0o on October 04, 2003, 02:32:12 AM
Oh!  Now that you mentioned that I just realised that I uninstalled Norton Antivirus 2003 a couple days before hand.  That might be the problem.
Title: Cannot Open Port :(
Post by: rejetto on October 04, 2003, 05:00:58 AM
aha
luigi, can you confirm?
Title: Cannot Open Port :(
Post by: rejetto on October 09, 2003, 11:38:40 AM
hey you guys, i found out how to fix the problem

it happens when the function converting string 'tcp' to integer 6 is not working, i think it is problem of the host machine, but the solution is simple, i will specify the integer 6 directly instead of the string 'tcp'

ETA for version 1.5c : 32 hours
Title: same problem here!
Post by: jtorcato on October 16, 2003, 11:50:05 PM
Hi!

i'm trying to use HFS but i have adsl by usb and i'm also getting the "cannot open port" and the "can't connect, can't check" error...  :(

do you have any news on version 1.5c ?



Quote from: "rejetto"
hey you guys, i found out how to fix the problem
...
ETA for version 1.5c : 32 hours
Title: Cannot Open Port :(
Post by: rejetto on October 17, 2003, 04:01:17 PM
check it out
http://www.rejetto.com/forum/viewtopic.php?t=1042