• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Service Port Error

Jknot

Member
Joined
Feb 18, 2008
Messages
153
Reaction score
12
Location
South Carolina
can anyone help me at all with this problem or does anyone know whats could be the problem?


HFnvg3.png
 
Post your config.lua.


Code:
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 8
killsToRedSkull = 5
killsToBlackSkull = 8
pzLocked = 60000
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 8 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"


ip = "valaxians.no-ip.org"
bindOnlyGlobalAddress = "yes"
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to Global tibiaface v.13!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Tibiaface"
statusTimeout = 60000
replaceKickOnLogin = "yes"
maxPacketsPerSecond = 300
pushCreatureDelay = 1 * 1000  


deathLosePercent = -1


housePriceEachSQM = 1000
houseRentPeriod = "never"


timeBetweenActions = 200
timeBetweenExActions = 1000


mapName = "realmap"
mapAuthor = "Maya"


marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

mysqlHost = "127.0.0.1"
mysqlUser = ""
mysqlPass = ""
mysqlDatabase = ""
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

allowChangeOutfit = "yes"
freePremium = "yes"
kickIdlePlayerAfterMinutes = 200
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
emoteSpells = "no"


rateExp = 50
rateSkill = 20
rateLoot = 10
rateMagic = 7
rateSpawn = 1


deSpawnRange = 2
deSpawnRadius = 50


staminaSystem = "no"


defaultPriority = "high"
startupDatabaseOptimization = "no"

ownerName = ""
ownerEmail = ""
url = "http://www.tibiaface.com/"
location = "bolivia"


i removed my ip and mysql info for security reasons also this is the link i got distro from

https://otland.net/threads/10-76-tfs-1-0-sources-cast-system-update-v8-1.230271/
 
Try to set bindOnlyGlobalAddress to no.
instant crash when i change bindonly global from yes to no :/
im sorry i forgot to reenter mysql information i reenterd it and changed to no as you suggested and the error messages seem to have stopped thank you very much would you mind telling me what that setting changed?
 
If it's set to yes you can only use your global ip.

I will add the error here for people who use search.
Code:
[ServicePort::open] Error: bind: The requested address is not valid in its context
 
Try to set bindOnlyGlobalAddress to no.
after following the step here the Error has been removed however when i try to connect to the server it only shows the character list then times out all my ports are open i just rechecked them also i cannot connect on any older versions with sqlite any idea what that might be?
 
Try to use different ip in your IP Changer or add your domain to hosts and use that.
https://otland.net/threads/port-forwarding-and-connection.230381/

did all this and here are results but still cannot connect

On this page you can test your ports if your able to host a webserver/tibia server.

Default Ports:
Web: 80
Login server: 7171
Game server: 7172

IP or Domain

PortMake sure your server is ONLINE before you check your ports.




Status: We checked port 80 on IP 216.218.98.147 and the port is OPEN!
 
I mean the connection part at the bottom.
yup i tried all that and all my ports are open no-ip is set up right no one can connect to the server not even me and the only way i can get a character list up is if i use 127.0.0.1 then it times out for me still if i remove everything and make it offline i can log in kinda got me stumpped

does gesior acc maker need to be host on local ip or on my external ip maybe thats the problem?
im new to account maker websites since im such a old otland member i was doing ot's befor them with in game acc manager and sqlite
 
Did you also tried to add your domain to hosts as explained in the tutorial?
And to test it with your global ip incase there is something wrong with your domain?
 
Did you also tried to add your domain to hosts as explained in the tutorial?
And to test it with your global ip incase there is something wrong with your domain?
i am working on it now but i cannot save the host file do you have a way? it says please check if the file is open in another program

also this is set up correct right?
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
# 192.168.1.150 valaxians.no-ip.org
 
You can also edit it somewhere else and add it back.
ok so i saved the ip to host file i read under the other comment that you needed to change file privaliges but now im back to the same thing server is running but i cannot connect through any ip and only if i use 127.0.0.1 only then can i get my characters list to come up but not log in
what do you think it could be now? and i dont know if i said this or not but thank you so much for all your help so far i really appreciate it more than you know
 
i am working on it now but i cannot save the host file do you have a way? it says please check if the file is open in another program

also this is set up correct right?
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
# 192.168.1.150 valaxians.no-ip.org
Didn't see your edit, you have to add it without #
 
Didn't see your edit, you have to add it without #


ok i changed it to this Now I was able to log into my server with Valaxians.no-ip.org


Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
192.168.1.150 valaxians.no-ip.org

also thank you very much you are the best :)

now does this mean my server is online for my friends too?

or do i need to change my webpage set up somehow from localhost to Valaxians.no-ip.org
im using gesior acc maker by the way
 
This is only for you to login, it does not effect other people who try to login.
But I just tested it and I can login.
Ijhs0Lhsz.png
 
Back
Top