Gmod Can't connect to my own server

So I made a dedicated server today and port forwarded and for some reason when I use the CMD to run the server I can’t connect but when I use the srcds.exe GUI I can connect to the server does anyone know why? Please help here is my CMD code. srcds.exe -console -game garrysmod -port 27015 +map gm_construct +maxplayers 32 -ip

(User was banned for this post ("wrong section" - postal))