Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Is turing not able to receive data over port 443?
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
LaZ3R




PostPosted: Sun Jul 20, 2008 9:09 pm   Post subject: Is turing not able to receive data over port 443?

For some reason, trying to use this port which is normally used for secure connections isn't successful for me through turing Sad.

I put the data into the stream, but am not sure if the other side even receives it as I'm not even sent any type of response from the server back. Anyone have any clue? Smile
Sponsor
Sponsor
Sponsor
sponsor
LaZ3R




PostPosted: Sun Jul 20, 2008 10:05 pm   Post subject: Turing 4.1.1 freezes when attempting to connect to servers???

Juh?! I can't connect to crap anymore now that I tried using 4.1.1 but 4.0.5 (version I used before) works fine still... Anyone else experiencing network problems using 4.1.1?
LaZ3R




PostPosted: Sun Jul 20, 2008 10:10 pm   Post subject: RE:Turing 4.1.1 freezes when attempting to connect to servers???

Ok, I've narrowed down the problem to not the actual connection part itself, but trying to receive data from the stream...

As soon as I try to get data, whole connection freezes and turing stops responding.
LaZ3R




PostPosted: Sun Jul 20, 2008 10:18 pm   Post subject: RE:Turing 4.1.1 freezes when attempting to connect to servers???

Ok nevermind, editing the Net.tu file solved my problem, actually might have just fixed my port 443 problem too but I'll find out shortly :p.
LaZ3R




PostPosted: Sun Jul 20, 2008 11:13 pm   Post subject: RE:Turing 4.1.1 freezes when attempting to connect to servers???

Yeah well, the port 443 issue I had in the other thread I made still exists... Damn turing Razz
apomb




PostPosted: Mon Jul 21, 2008 8:00 am   Post subject: RE:Is turing not able to receive data over port 443?

Quintuple posting!? all in just over 2 hours... this has to be a record of some sort. glad to know you've solved your problem though, just keep it to edits if no one has replied for god's sake!
DemonWasp




PostPosted: Mon Jul 21, 2008 8:15 am   Post subject: RE:Is turing not able to receive data over port 443?

Well, port 443 is reserved for HTTPS over SSL, which may or may not have something to do with it. You can see a list of reserved ports here: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

Generally, it's a good idea to choose port numbers in excess of 1024, since most of the first 1024 ports are already claimed by some important-or-critical services.
LaZ3R




PostPosted: Mon Jul 21, 2008 1:16 pm   Post subject: RE:Is turing not able to receive data over port 443?

Well, the thing is I'm trying to send data over port 443 to a server for exactly that purpose. No way for turing to do that eh? Sad
Sponsor
Sponsor
Sponsor
sponsor
SNIPERDUDE




PostPosted: Mon Jul 21, 2008 7:47 pm   Post subject: RE:Is turing not able to receive data over port 443?

I wouldn't imagine
Dan




PostPosted: Mon Jul 21, 2008 8:41 pm   Post subject: RE:Is turing not able to receive data over port 443?

It may help to see your code, i am on linux right now so i can't test truing my self but when i get on a windows computer with Turing i will try connecting to port 443.

If you are trying to connect a Turing program to a none Turing made program, it might be a good idea to see if you can do a local connection between two Turing programs first to see if it relay is the port causing the issue.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
SNIPERDUDE




PostPosted: Mon Jul 21, 2008 9:35 pm   Post subject: RE:Is turing not able to receive data over port 443?

Good suggestion.
LaZ3R




PostPosted: Sun Jul 27, 2008 8:24 pm   Post subject: RE:Is turing not able to receive data over port 443?

Very good suggestion Dan Razz, should've tried that earlier because yes the port is indeed causing problems.

I created a server but for some reason, if Turing detects that I'm trying to make it on port 443, it simply gives me a "Net Error: Windows Socket Library Error #1008." If I change the port to 442 or 444, or any other port aside from 443, it'll create the server and wait on the port as specified to by the function. Very interesting... Probably why I can't put any data through 443 either which is why I'm not getting a response from the server I'm trying to Sad

Any ideas on how to fix this? Really need to be able to send data through the port and receive as well Sad
Dan




PostPosted: Sun Jul 27, 2008 8:39 pm   Post subject: RE:Is turing not able to receive data over port 443?

I have a few ideas tho nothing for sure:

Are you running vista or xp? Some opreating systems only allow the admin user or user with set permisons to use certent ports. I would try running the turing program (and posibly server) as adminstator.

Also try turning off any firewalls you may have on, including windows firewall.

There is also the posblity that somthing is allready bound to port 443 and is block it form use by other programs. 443 is comanly used for https so try closing anything that could be using that port other then your application. If you are running both the server and the client on the same computer try running them on diffrent ones.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
btiffin




PostPosted: Sun Jul 27, 2008 8:43 pm   Post subject: RE:Is turing not able to receive data over port 443?

Port 443 may be in use by another app on your system.

Try
code:
nmap -A localhost

to see what's what in terms of open ports.

You can get a Windows version of nmap from nmap.org

Cheers
Edit; typo
octopi




PostPosted: Sun Jul 27, 2008 8:57 pm   Post subject: Re: Is turing not able to receive data over port 443?

Why do you NEED to use port 443?

If your connecting to some external resource, then it will require the connect to be secured, I doubt Turing is capable of handling the encryption necessary to use HTTPS, and definitely doesn't have any built in support.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 27 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: