Minequery PHP

Post here is you are having problems with any of the tutorials.
Post Reply
BizBink
Posts: 4
Joined: Wed Sep 12, 2012 8:46 pm

Minequery PHP

Post 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
BizBink
Posts: 4
Joined: Wed Sep 12, 2012 8:46 pm

Re: Minequery PHP

Post by BizBink »

Sorry just noticed there is a board for support of Tutorials... just noticed but its too late
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Minequery PHP

Post 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.
BizBink
Posts: 4
Joined: Wed Sep 12, 2012 8:46 pm

Re: Minequery PHP

Post 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
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Minequery PHP

Post 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.
Image
BizBink
Posts: 4
Joined: Wed Sep 12, 2012 8:46 pm

Re: Minequery PHP

Post 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.
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Minequery PHP

Post by Helx »

Definitely the server.

Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Minequery PHP

Post 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
Image
Post Reply