ArTeMkAg Posted March 20, 2022 Share Posted March 20, 2022 this error every time.when creating a single world is not online. help me how to fix this https://files.fm/f/8rvcb36f6 Link to comment Share on other sites More sharing options...
SylenThunder Posted March 20, 2022 Share Posted March 20, 2022 4 hours ago, ArTeMkAg said: this error every time.when creating a single world is not online. help me how to fix this https://files.fm/f/8rvcb36f6 That picture isn't useful at all. Please follow the instructions. They are Pinned for a reason. Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 20, 2022 Author Share Posted March 20, 2022 creating a world in single mode on startup gives an error Error initializing server: Create Socket Or Thread Failure but I checked in C:\Users\artem\AppData\Roaming\7DaysToDie\Saves\Navezgane it created single worlds it does not enter via 7DaysToDie.exe I'll attach the logs, maybe something will indicate the reason https://pastebin.com/7MP1uxEn Link to comment Share on other sites More sharing options...
Beelzybub Posted March 20, 2022 Share Posted March 20, 2022 9 minutes ago, ArTeMkAg said: maybe something will indicate the reason Your log shows a port conflict. Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 20, 2022 Author Share Posted March 20, 2022 9 minutes ago, Beelzybub said: Ваш журнал показывает конфликт портов. good. where to change the port in which folder and file Link to comment Share on other sites More sharing options...
SylenThunder Posted March 20, 2022 Share Posted March 20, 2022 I find it a little interesting that your first image is from Steam, but the log is from a headless dedi. Just FYI, never start the dedicated server from Steam. Always use the batch file. Restart the host to ensure you don't have any hung processes/ports, and ensure you're using a clean port range. 1 minute ago, ArTeMkAg said: good. where to change the port in which folder and file That's in your config file. The default is port 26900, which will use the range of 26900-26903. Console and telnet are on 8080 and 8081 respectively. Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 20, 2022 Author Share Posted March 20, 2022 18 minutes ago, SylenThunder said: Мне кажется немного интересным, что ваше первое изображение взято из Steam, а лог — от безголового деди. К вашему сведению, никогда не запускайте выделенный сервер из Steam. Всегда используйте командный файл. Перезапустите хост, чтобы убедиться, что у вас нет зависших процессов/портов, и убедитесь, что вы используете чистый диапазон портов. Это в вашем файле конфигурации. По умолчанию используется порт 26900, который будет использовать диапазон 26900-26903. Консоль и телнет есть на 8080 и 8081 соответственно. hhmm ummm how to restart the host or give permission Usually only one use of a socket address (protocol/network address/port) is allowed. Link to comment Share on other sites More sharing options...
Beelzybub Posted March 20, 2022 Share Posted March 20, 2022 (edited) 15 minutes ago, ArTeMkAg said: how to restart the host Don't run Steam to run the server. Close Steam down. Start the game server from the "startdedicated.bat" file in your install folder. To find your port conflict: Open a command prompt with admin rights, run the command "netstat -ab" (without the quotes) to see what applications are using what ports. To set a port for the game: Open serverconfig.xml and edit the lines: <property name="ServerPort" value="26900"/> (for the game port) <property name="ControlPanelPort" value="8080"/> (for the control panel port) <property name="TelnetPort" value="8081"/> (for the telnet port) The ports shown are the defaults. Change the conflicted port to an available port. Use the output of the netstat -ab command to help you select ports that are not in use. Edited March 20, 2022 by Beelzybub (see edit history) Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 21, 2022 Author Share Posted March 21, 2022 39 minutes ago, Beelzybub said: Не запускайте Steam для запуска сервера. Закройте Steam. Запустите игровой сервер из файла startdedicated.bat в папке установки. Чтобы найти конфликт портов: Откройте командную строку с правами администратора, запустите команду «netstat -ab» (без кавычек), чтобы увидеть, какие приложения используют какие порты. Чтобы установить порт для игры: Откройте serverconfig.xml и отредактируйте строки: <property name="ServerPort" value="26900"/> (для игрового порта) <property name="ControlPanelPort" value="8080"/> (для порта панели управления) <property name="TelnetPort" value="8081"/> (для порта telnet) Используйте неиспользуемые порты, которые вы нашли с помощью команды netstat -ab. so it seems like it happened 1 time, but then if you go into the single world that created it, then everything is all over again Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 21, 2022 Author Share Posted March 21, 2022 (edited) Вот видео https://files.fm/f/pfq58sp3m когда меняю незанятый порт он его берет. и все сначала here are the logs https://pastebin.com/PByifLYD I apologize for my problems with the game, it's been so long and lengthy. how can I change the order of the ports in the application that I use Edited March 21, 2022 by ArTeMkAg complete (see edit history) Link to comment Share on other sites More sharing options...
Beelzybub Posted March 21, 2022 Share Posted March 21, 2022 (edited) 50 minutes ago, ArTeMkAg said: Here is a video https://files.fm/f/pfq58sp3m when I change a port that is not busy, it takes it. and all over again Sorry, I'm confused. The log you posted is from a dedicated server, but your video is showing the client starting a mp game. Which one are we trying fix? Edited March 21, 2022 by Beelzybub (see edit history) Link to comment Share on other sites More sharing options...
ArTeMkAg Posted March 21, 2022 Author Share Posted March 21, 2022 45 minutes ago, Beelzybub said: Ваше видео показывает, как вы подключаетесь к серверу с клиента, но мы даже не знаем, запущен ли сервер. Запустите сервер без клиента и убедитесь, что он работает. Затем опубликуйте журнал сервера здесь, чтобы показать, что он работает. если ты не заставляйте сервер работать правильно, нет причин тестировать клиент. it started as you said through startdedicated. it worked, but then, as I left the game, I turned off the server. then all over again 1 https://pastebin.com/8kAZLk8Q 2 https://pastebin.com/TTiC2Rjg Link to comment Share on other sites More sharing options...
Beelzybub Posted March 21, 2022 Share Posted March 21, 2022 18 minutes ago, ArTeMkAg said: I turned off the server. then all over again It looks like the first server instance didn't release the port when you closed it down. I dunno why, but you could reboot to release all the ports and start over. Also, when the port is showing as "in use" check with netstat to see if it really is in use and by what program. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now