View Single Post
LEIK
Pope's Avatar
Trådstarter
GREIT. Oppdatering.

Åpnet port 25565 mot 10.0.0.150. Når serveren ikke kjører, fremstår porten som lukket. Når serveren kjører, er den åpen. Dette virker åpenbart som det skal. Kan se at det står LISTENING i cmd ved nedstat -a. Porten som minecraft bruker er tydeligvis TCP-protokoll.

Jeg lukker minecraft-serveren og åpner følgende porter (UDP og TCP) i routeren:
3478
4379-4380
27000-27050
8766

Deretter kjører jeg serveren. Netstat gir følgende resultat:
SPOILER ALERT! Vis spoiler
Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 MSI:0 LISTENING
TCP 0.0.0.0:445 MSI:0 LISTENING
TCP 0.0.0.0:27036 MSI:0 LISTENING
TCP 0.0.0.0:49664 MSI:0 LISTENING
TCP 0.0.0.0:49665 MSI:0 LISTENING
TCP 0.0.0.0:49666 MSI:0 LISTENING
TCP 0.0.0.0:49667 MSI:0 LISTENING
TCP 0.0.0.0:49668 MSI:0 LISTENING
TCP 0.0.0.0:49681 MSI:0 LISTENING
TCP 0.0.0.0:53690 MSI:0 LISTENING
TCP 10.0.0.150:139 MSI:0 LISTENING
TCP 10.0.0.150:5040 MSI:0 LISTENING
TCP 10.0.0.150:39718 MSI:0 LISTENING
TCP 10.0.0.150:52999 db5sch101110510:https ESTABLISHED
TCP 10.0.0.150:53000 104.16.60.37:https ESTABLISHED
TCP 10.0.0.150:53001 lr-in-f188:https ESTABLISHED
TCP 10.0.0.150:53003 10.0.0.79:8009 ESTABLISHED
TCP 10.0.0.150:53037 fra02-003:http ESTABLISHED
TCP 10.0.0.150:53781 a193-212-170-51:http TIME_WAIT
TCP 10.0.0.150:53804 151.101.84.249:http TIME_WAIT
TCP 10.0.0.150:53808 151.101.36.166:http TIME_WAIT
TCP 10.0.0.150:53814 a88-221-99-155:https ESTABLISHED
TCP 10.0.0.150:53815 a193-212-170-35:https ESTABLISHED
TCP 10.0.0.150:53816 a193-212-170-33:https ESTABLISHED
TCP 10.0.0.150:53818 148.123.47.74:https ESTABLISHED
TCP 10.0.0.150:53819 148.123.47.74:https ESTABLISHED
TCP 10.0.0.150:53822 104.16.59.5:https ESTABLISHED
TCP 127.0.0.1:4380 MSI:0 LISTENING
TCP 127.0.0.1:6463 MSI:0 LISTENING
TCP 127.0.0.1:12025 MSI:0 LISTENING
TCP 127.0.0.1:12110 MSI:0 LISTENING
TCP 127.0.0.1:12119 MSI:0 LISTENING
TCP 127.0.0.1:12143 MSI:0 LISTENING
TCP 127.0.0.1:12465 MSI:0 LISTENING
TCP 127.0.0.1:12563 MSI:0 LISTENING
TCP 127.0.0.1:12993 MSI:0 LISTENING
TCP 127.0.0.1:12995 MSI:0 LISTENING
TCP 127.0.0.1:27060 MSI:0 LISTENING
TCP 127.0.0.1:27275 MSI:0 LISTENING
TCP 127.0.0.1:51414 MSI:0 LISTENING
TCP 127.0.0.1:51414 MSI:52886 ESTABLISHED
TCP 127.0.0.1:52872 MSI:65001 ESTABLISHED
TCP 127.0.0.1:52886 MSI:51414 ESTABLISHED
TCP 127.0.0.1:65000 MSI:0 LISTENING
TCP 127.0.0.1:65001 MSI:0 LISTENING
TCP 127.0.0.1:65001 MSI:52872 ESTABLISHED
TCP [::]:135 MSI:0 LISTENING
TCP [::]:445 MSI:0 LISTENING
TCP [::]:49664 MSI:0 LISTENING
TCP [::]:49665 MSI:0 LISTENING
TCP [::]:49666 MSI:0 LISTENING
TCP [::]:49667 MSI:0 LISTENING
TCP [::]:49668 MSI:0 LISTENING
TCP [::]:49681 MSI:0 LISTENING
TCP [::]:53690 MSI:0 LISTENING
TCP [::1]:12025 MSI:0 LISTENING
TCP [::1]:12110 MSI:0 LISTENING
TCP [::1]:12119 MSI:0 LISTENING
TCP [::1]:12143 MSI:0 LISTENING
TCP [::1]:12465 MSI:0 LISTENING
TCP [::1]:12563 MSI:0 LISTENING
TCP [::1]:12993 MSI:0 LISTENING
TCP [::1]:12995 MSI:0 LISTENING
TCP [::1]:27275 MSI:0 LISTENING
TCP [::1]:49928 MSI:0 LISTENING
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5050 *:*
UDP 0.0.0.0:5353 *:*
UDP 0.0.0.0:5353 *:*
UDP 0.0.0.0:5353 *:*
UDP 0.0.0.0:5353 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:27015 *:*
UDP 0.0.0.0:27016 *:*
UDP 0.0.0.0:27036 *:*
UDP 0.0.0.0:49700 *:*
UDP 0.0.0.0:49862 *:*
UDP 0.0.0.0:61198 *:*
UDP 0.0.0.0:63386 *:*
UDP 0.0.0.0:64496 *:*
UDP 10.0.0.150:137 *:*
UDP 10.0.0.150:138 *:*
UDP 10.0.0.150:1900 *:*
UDP 10.0.0.150:2177 *:*
UDP 10.0.0.150:5353 *:*
UDP 10.0.0.150:39718 *:*
UDP 10.0.0.150:50418 *:*
UDP 10.0.0.150:52828 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:48201 *:*
UDP 127.0.0.1:49664 *:*
UDP 127.0.0.1:49856 *:*
UDP 127.0.0.1:49857 *:*
UDP 127.0.0.1:49858 *:*
UDP 127.0.0.1:49859 *:*
UDP 127.0.0.1:49860 *:*
UDP 127.0.0.1:49861 *:*
UDP 127.0.0.1:52829 *:*
UDP 127.0.0.1:60705 *:*
UDP 127.0.0.1:60706 *:*
UDP 127.0.0.1:60707 *:*
UDP 127.0.0.1:60708 *:*
UDP 127.0.0.1:62290 *:*
UDP 127.0.0.1:62291 *:*
UDP 127.0.0.1:65000 *:*
UDP [::]:500 *:*
UDP [::]:4500 *:*
UDP [::]:5353 *:*
UDP [::]:5353 *:*
UDP [::]:5353 *:*
UDP [::]:5355 *:*
UDP [::]:49700 *:*
UDP [::]:49863 *:*
UDP [::]:61198 *:*
UDP [::1]:1900 *:*
UDP [::1]:5353 *:*
UDP [::1]:52827 *:*


Altså, følgende porter er aktive:

UDP 0.0.0.0:27015 *:*
UDP 0.0.0.0:27016 *:*

De er ikke kun aktive for 10.0.0.150, men det skulle ikke ha noe å si? 8766 er helt død, men det trenger ikke å bety så mye, ettersom det virker som at 27015 er den viktigste porten (fra serveroppsett: serverIP 10.0.0.150:27015).

Uansett. Canyouseeme ser ingen av portene jeg har åpnet som åpne.
Tyder dette på at det er noe galt med serveren?

edit:
Testet med et annet spill, Rising World. Her ser det ut til å virke. Når serveren kjører fremstår de åpnede portene som åpne.
Jeg finner ikke min server i spillets serverliste. (Kan jeg forvente å gjøre dette?)
Men jeg kan koble til serveren via IP hvis jeg bruker public IP fra feks. whatismyip.com. Betyr dette at andre også burde kunne koble til?

edit2: Og nå vises den på serverlist også. Det kan se ut til at vi har greid å sette opp en server som virker!
Men det andre spillet, TheForest, må det være noe galt med. Kanskje jeg bruker feil porter i server.cfg? Det står så mye forskjellig på nettet.

edit3: Og nå finner jeg TheForest-serveren på listen over dedikerte servere også. Får ikke testet akkurat nå, men vil anta at andre kan koble til. Det løste seg ved at jeg fjernet porten fra ip-adressen. Merkelig når guiden sier dette:

// Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding, append the current game port here as well
serverIP 10.0.0.150:27015

Det gjenstår å se om andre har tilgang, men om det funker, så har vi vært veldig nære hele tiden.
Tusen tak for hjelpen
Sist endret av Pope; 7. desember 2017 kl. 01:36. Grunn: Automatisk sammenslåing med etterfølgende innlegg.