Page 1 of 1

Minequery PHP

Posted: Wed Sep 12, 2012 8:55 pm
by BizBink
So basically I watch all 3 of the videos (http://www.youtube.com/watch?v=k1luFdpjb9A&feature=plcp) which were made by the guy of this forums and I still cant seem to get it to work.

I keep getting a connection refused after I increased the connection time to 30 seconds, before it just said connection timed out and it was at 1 second. Anyways Ive went throught the comments and I noticed someone had the same problem and you told him to continue watching the video. I did and saw nothing that helped me.

Anyways I attached the whole source file bellow since I didnt feel like pasting 4 documents -_- sorry for the lazyness on my behalf. And also I'll leave server info and the website Im making it on to show you. (site: http://craftbrothers.net/sandbox/test.php)
Minequery.zip
Source
(1.77 KiB) Downloaded 182 times
Info...
IP: 69.175.45.152
PORT: 25665

Minequery Port: 25624


Personal Note:
Who ever helps me and actually solves the issue (Ive been spending a week trying to query my server with many different scripts) they will be a GOD to me... no lies LOL

Re: Minequery PHP

Posted: Wed Sep 12, 2012 8:57 pm
by BizBink
Sorry just noticed there is a board for support of Tutorials... just noticed but its too late

Re: Minequery PHP

Posted: Sat Sep 15, 2012 1:34 pm
by Helx
Lol, derpy mistake;

In the config.inc.php page, you need to have the MINEQUERY port, not the server port. (In this case, 25624)

If that still doesn't work, then check that the port '25624' has been fowarded.

Re: Minequery PHP

Posted: Sat Sep 15, 2012 2:16 pm
by BizBink
Ya about that. I've tried that before already and I still get a connection refused error. I just left it like that because I was dicking around trying all different things.

Thanks for at least replying :O LOL been waiting for days haha

Re: Minequery PHP

Posted: Mon Sep 17, 2012 12:29 pm
by jacek
If you are getting connection refused it will generally be a problem with the server set up rather than the code, obviously make sure you have the correct ports and stuff like that though. If you are hosting the server on your home connection you will need to forward the minequery port in the same way you have to for the sever port.

Re: Minequery PHP

Posted: Mon Sep 17, 2012 2:03 pm
by BizBink
Alright so last night I actually emailed my host. They confirmed its open but now the port shows as closed. Let's say there the shitiest host ever. There support sucks. Anyways thanks everyone. I'll update you all.

Re: Minequery PHP

Posted: Fri Sep 21, 2012 6:18 am
by Helx
Definitely the server.

Image

Re: Minequery PHP

Posted: Sat Sep 22, 2012 11:10 pm
by jacek
BizBink wrote:They confirmed its open but now the port shows as closed. Let's say there the shitiest host ever. There support sucks. Anyways thanks everyone. I'll update you all.
The port will show as closed if the Minequery server is not running too, but also look on the bright side that your code is right :P