Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. connect through localhost not working (wsl2)

connect through localhost not working (wsl2)

Scheduled Pinned Locked Moved BO2 Server Hosting Support
3 Posts 2 Posters 51 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kipuraundefined Offline
    kipuraundefined Offline
    kipura
    wrote on last edited by
    #1

    Im using wsl2 to test my bo2 docker server which i created. I can connect via the hostname ip, but not through localhost which seems odd because i enabled localhostforwarding and if i try it with other docker images like nginx its working through localhost and the hostname ip so for some odd reason its only with my bo2 server.

    https://github.com/Kipura/codServer

    this is my repository, maybe something is wrong in the dockerfile but i can't find anything.

    Dss0undefined 1 Reply Last reply
    0
    • Dss0undefined Offline
      Dss0undefined Offline
      Dss0 Plutonium Staff
      replied to kipura on last edited by
      #2

      kipura which port is your server running on? Server and game can't be running on the same port on the same machine.

      kipuraundefined 1 Reply Last reply
      0
      • kipuraundefined Offline
        kipuraundefined Offline
        kipura
        replied to Dss0 on last edited by
        #3

        Dss0 yeah I know, it's running on 4977, I read about "Why can't I find my server hosted at home while others can?" in the docs for bo2 where it says "Your router probably doesn't support NAT-Loopback", so I guess this could be the same with wsl2 but than idk why nginx etc. do work with localhost.

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate