Finding my server IP/port?
i need it to make by discord bot say how many are online for the life of me i dont know how to get it 

Merged post

i cant find the right hostname port so i can make my bot 0/150 ect ect in discord 
Server basically doesn't know the IP of himself, and uses default *server machine's* IP if possible, unless you specify it in startup script. Machine's IP can be found in ipconfig command in windows cmd and by ifconfig command in terminal.
Default server port is 28015, rcon's 28016, it will not change unless you specify it in startup script.
In response to 2CHEVSKII ():
Server basically doesn't know the IP of himself, and uses default *server machine's* IP if possible,...
ok i still cant find it im using the port it says to use but i still cant register my server and or link to my bot
If you don't know what your server port is, then it means you haven't manually set it and therefore it's the default 28015

You can double-check this. Open your game, hit F1 and type this (obv, replace the X with your server IP address):

client.connect XXX.XXX.XXX.XXX:28015

Merged post

... on the other hand, if you're paying for a commercial server account then chances are they've manually set your port number. If so, ask them what it is.
I cant exactly understand what "discord bot" are you talking about. Have you found you ip? Which OS are you using on the server?
im on windows 10 also i made my own discord bot i want it to show how many people are online on my server in rust
In response to JimDeadlock ():
If you don't know what your server port is, then it means you haven't manually set it and therefore...
hmm ok ill try