Help with Rcon PHP

Discussion in 'Rust Discussion' started by nadal28, Feb 5, 2017.

  1. Hello, yesterday I opened my server, I use this script rustserver: Rust |
    in Debian 8 64 bits.

    I can connect via Rcon Web here Websocket Rcon

    And also, chaning rconweb to "0" zero I can connect Rcon with RustAdmin.
    But I want to connect with a PHP script, so rconweb = 0 (zero) and I get Can't connect to RCON server: Connection refused

    Im using xPaw class: GitHub - xPaw/PHP-Source-Query: PHP library to query servers that implement Source Engine Query protocol
    If I set rconweb = 1 I get this Rcon read: Failed to read any data from socket after a few seconds

    Here is my rust launcher
    http://i.imgur.com/SSxD0Ba.png

    Here is my PHP script
    http://i.imgur.com/6j15etb.png

    I've spent yesterday afternoon trying to get this and trying many scripts without success

    EDIT: another pic of the ports http://i.imgur.com/znlLk3P.png
    Vanilla Server
     
    Last edited by a moderator: Feb 5, 2017