Page 1 of 1

http://portcheck.transmissionbt.com

Posted: Sat Dec 29, 2012 5:39 pm
by cfpp2p
http://portcheck.transmissionbt.com/51413 (SUBSTITUTE your port for the 51413) or whatever you are port forwarded to, should return "1" if port forwarding is set up properly. You can set up port forwarding however you want to and then with any web browser test http://portcheck.transmissionbt.com/51413 (SUBSTITUTE your port for the 51413) and you will see the results directly. I've been getting "0" for days now. The server at portcheck does not seem to be working lately.

Code: Select all

    if( response_code != 200 )
    {
        tr_snprintf( result, sizeof( result ), "portTested: http error %ld: %s",
                     response_code, tr_webGetResponseStr( response_code ) );
    }
    else /* success */
    {
        const bool isOpen = response_byte_count && *(char*)response == '1';
        tr_bencDictAddBool( data->args_out, "port-is-open", isOpen );
        tr_snprintf( result, sizeof( result ), "success" );
    }

for Mac:

Code: Select all

@implementation PortChecker (Private)

- (void) startProbe: (NSTimer *) timer
{
    [fTimer release];
    fTimer = nil;
    
    NSURLRequest * portProbeRequest = [NSURLRequest requestWithURL: [NSURL URLWithString: CHECKER_URL([[timer userInfo] integerValue])]
                                        cachePolicy: NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval: 15.0];
    
    if ((fConnection = [[NSURLConnection alloc] initWithRequest: portProbeRequest delegate: self]))
        fPortProbeData = [[NSMutableData alloc] init];
    else
    {
        NSLog(@"Unable to get port status: failed to initiate connection");
        [self callBackWithStatus: PORT_STATUS_ERROR];
    }
}

- (void) callBackWithStatus: (port_status_t) status
{
    fStatus = status;
    
    if (fDelegate && [fDelegate respondsToSelector: @selector(portCheckerDidFinishProbing:)])
        [fDelegate performSelectorOnMainThread: @selector(portCheckerDidFinishProbing:) withObject: self waitUntilDone: NO];
}

@end
other information---

Initiating server query ...
Looking up IP address for domain: forum.transmissionbt.com
The IP address for the domain is: 91.121.60.42
Connecting to the server on standard HTTP port: 80
[Connected] Requesting the server's default page.
The server returned the following response headers:
HTTP/1.1 301 Moved Permanently
Location: https://forum.transmissionbt.com/
Content-Length: 0
Connection: close
Date: Sat, 29 Dec 2012 17:44:25 GMT
Server: lighttpd/1.4.28
Query complete.

Good the ABOVE looks OK


BAD! --> HTTP/1.1 400 Bad Request
don't look right?

Initiating server query ...
Looking up IP address for domain: portcheck.transmissionbt.com
The IP address for the domain is: 91.121.60.42
Connecting to the server on standard HTTP port: 80
[Connected] Requesting the server's default page.
The server returned the following response headers:
HTTP/1.1 400 Bad Request
Connection: close
Transfer-Encoding: chunked
Date: Sat, 29 Dec 2012 17:46:29 GMT
Server: lighttpd/1.4.28
Query complete.

Re: http://portcheck.transmissionbt.com

Posted: Sat Dec 29, 2012 7:43 pm
by jungleland72
i prove but it's always 0........
the problem it's my router????
i have setting like picture attached.......

Thanks

Re: http://portcheck.transmissionbt.com

Posted: Sat Dec 29, 2012 7:51 pm
by cfpp2p
I guess that my initial post is unclear. I'm trying to say that it appears that the portcheck site (http://portcheck.transmissionbt.com/)that the transmission code uses is not functioning correctly. The code is good but the actual portcheck site appears to be malfunctioning. So until its back to normal an alternative way to check the port should be used. Many other forum posts describe how to do that.

Re: http://portcheck.transmissionbt.com

Posted: Sun Dec 30, 2012 3:51 am
by Passion4diving
Whew!

Now I can stop trying this and that on my router (Airport Express [5th Gen]) that I got for Christmas.

Now I can go to bed before 3am (messing with the router could not start until family went to bed).

Now I know that my seeding/leeching can be (is) shared.

should have tried canyouseeme.org sooner

Many thanks to cfpp2p (guess: chief forensic problem-solver [for] peer 2 peer)

PS: your first post was, for me, just information noise; second post was excellent

Re: http://portcheck.transmissionbt.com

Posted: Wed Jan 02, 2013 9:40 am
by phreakymonkey
Well, this gave me a glimmer of hope, but no, UPnP in Transmission seems to be totally broken for me for the last couple weeks or so. I thought it might be a router issue, but soft- and hard-resetting both the router and the modem did nothing, and uTorrent seems to tunnel through just fine.