I'm having problems with my Fivem server because I can't connect

I have a fivem server and I changed the server to ubuntu, but now when I try to connect, I can’t.
My server ports have already been opened and the server runs smoothly, but I can’t connect.
I already tried using the original features and server.cfg, but it doesn’t work.

The error:

image

Server.cfg:

# Only change them if you're using a server with multiple network interfaces.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

## Set connection MYSQL-async
set es_enableCustomData 1
set mysql_connection_string "server=157.230.202.147;database=essentialmode;userid=appdb;password=appdb@817641@.;"
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow
add_ace resource.essentialmode command.add_ace allow
	
    
# These resources will start by default. nao mexer abaixo

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
#start scoreboard
#start playernames


# Mysql/Base
start mysql-async
 
# Essential
start async
start fxmigrant
start essentialmode
start esplugin_mysql
start es_extended
start es_admin2
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
#start es_ui
start instance
#start EasyAdmin
#start EasyAdmin-MySQL

#para baixo scripts esx
start esx_billing
start esx_identity
start esx_license
start esx_vehiclelock
start esx_voice
start esx_tattooshop
start esx_status
start esx_vehicleshop
start esx_accessories
start esx_scoreboard
start esx_spectate
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_society
start esx_service
start esx_jobs
start esx_joblisting
start esx_jailer
start esx_SleeepyBBear_carteirojob
start esx_policejob
start esx_skin
start esx_welcome
start esx_clotheshop
start esx_barbershop
start esx_damage
start esx_eden_garage
start esx_optionalneeds
start esx_panicbutton
start esx_property
start esx_ambulancejob
start esx-onoffduty
start esx_doorlock
start esx_lscustom
start esx_mechanicjob
start esx_onibus
start esx_dmv
start esx_plasticsurgery
start esx_outlawalert
start esx_ktackle
start esx_basicneeds
start esx_gym
start esx_GiveCarKeys
start esx_journaliste
start esx_animations
start esx_uber
start esx_vehicle_inventory
start esx_extraitems
start esx_taxijob
start esx_mafia
start esx_gangjob
start esx_biker
start esx_sell
start esx_holdup
start esx_holdupatm
start esx_holdupbank
start esx_bankerjob
start esx_thief
start esx_map
start esx_clip
start esx_weashops
start esx_shops
start esx_drugs
start esx_truckerjob
start esx_whitelist
start esx_rpchat
start esx_customui
start esx_marker
start esx_realestateagentjob
start esx_cartel
start esx_carwash
start LegacyFuel
start esx_teleportpads
start esx_lootDeadbody
start esx_taximeter
#start esx_realweapons
start esx_discord_bot
start esx_stamina


#para baixo scripts outros
start gcphone
start esx_addons_gcphone
start cron
start skinchanger
start dbjailer
start new_banking
start RPRevive
start watermark
start vannouncer
start pNotify
start 3dme
start Notificacoes-Portuguesas
start pointing
#start PoliceVehiclesWeaponDeleter
start TrafficAdjuster
start interact-sound
start teleportfazerfuncionar
start teleportpessoas
start teleportcarros
start c_policestation_needs
start NoLicense
start Stadus_Scoreboard
start emotescommand
start WeazelNewsCam
start modelblacklist
start RVF
start hospital
start allcity_wallet
start ft_libs
start nb_menuperso
start SimpleCarHUD
start NativeUI
start nonpcdrop
start carhud
start coords
start logsystem
start chatpdd
start crouchprone
start loffe-fishing
start PvP
start hrp_pd_impound
start cruzarbracos
start vehicle-control
start tab
start Nodriveby
start drugsell
start ELS-FiveM
start afkkick
start npc_control
start speedometer

#Hair and Clothes
start barbas
start h_cabelos
start m_cabelos
start colete
start roupas
start roupasadidas
start roupasadidas1
start roupasadidas2
start roupasppp
start sapatosadidas
start sapatosizis
start sapatosnovos
start sapatosnovos1
start suprememoletom

#Carros
start AUDI
start CHARGE
start fbi
start fbi2
#start FORD
start MAVERIC
#start MOTOPM
start police
start police
start police4
start ambulancia
start taxi
start mk1rabbit


#vips cars
start brzrbv3
start cb500f
start chevelle1970
start hornet
start lancerevox
start nissantitan17
start passat
start rmodm4
start g65
start c7
start 370z


#mapas
start bob74_ipl
#start ipl
start prison-map-addon
start DP
start PillboxHospital
start PillboxHospital_doors

#loadscreen
start yume_typed
start transition
start discordlogo

#Armas

# Not Allowed #

#start policiatreino
#start CintoEAviso
#start BetterRecoil
#start m-ragdoll
#start fs_taxi
#start prisao
#start DataEHora
#start medSystem
#start 19ram
#start ftoro
#start casadebanho
#start esquadragaragem
#start SimpleCarHUD
#start nos
#start esx_marker
#start esx_jsidmenu
#start RPChat
#start niiK0-RPChat
#start cityhills_02
#start coffee
#start GiGi_Shops
#start qalle-wheelchair
#start RadioPt
#start wk_vehdamage
#start wk_wrs
#start densidade
#start mecanico -> map
#start carroviaverde
#start reboque
#start carroinem
#start vengine
#PillboxHospital
#PillboxHospital_doors
#start coffe_policestation
#start jsfour-blindfold
#start jsfour-toilet
#start jsfour-idcard
#start pNotify
#start speedometer
#start GiGi-Snippet
#start esx_Armour
#start Radiant_Animations
#start interrogatorio
#start esx-qalle-sellvehicles
#start esx-qalle-needs
#start esx_SodaMachine
#start esx_cigarette
#start esx_binoculars
#start deathmessages
#start coloredhud
#start wastedscreen
#start esx-checkdeathcause
#start niiK0-Handsup
#start esx_garage
#start fivem-ipl
#start hrc-resource
#start lux_vehcontrol
#start es_carwash
#start esx_DrugstoNPC
#start 2f2fgts
#start 2f2fs2000
#start btsupra94
#start casco
#start beetle74
#start cayenne
#start cayenne2
#start rt70
#start CWRadarGun
#start veloc


#fim dos scripts#

restart sessionmanager
	
# This allows players to use scripthook based plugins such as lambda menu.
# Set this to 0 to disallow scripthook.
sv_scriptHookAllowed 0

#Icon
load_server_icon logo.png

# Uncomment this to enable RCON. Make sure to change the password.
rcon_password 'RodrigoJefferson22'

# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "Roleplay, esx, RP Americano"

# Set an optional server info and connecting banner image url.
# Size doesn't matter, any banner sized image will be fine.
#sets banner_detail "http://url.to/image.png"
#sets banner_connecting "http://url.to/image.png"

#Set your server's hostname
sv_hostname "Elite Roleplay Alpha test, almost there :)"

# Nested configs!
#exec server_internal.cfg

# Loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

# convars which can be used in scripts
set temp_convar "hey world!"

# Uncomment this line if you do not want your server to be listed in the server browser.
#sv_master1 ""

# Want to only allow players authenticated with a third-party provider like Steam?
# Don't forget Social Club is a third party provider too!
#sv_authMaxVariance 1
#sv_authMinTrust 5

# Add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.steam:110000114a805c9 group.admin # add the admin to the group
add_principal identifier.steam:11000011523ca86 group.admin
add_principal identifier.steam:1100001054ba549 group.admin

# Hide player endpoints in external log output.
sv_endpointprivacy true

# Server player slot limit (must be between 1 and 32)
sv_maxclients 32

# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> Tonello entre nesse site e pegue tua chave da steam e cole aqui, o fiveM de update e necessita isso agr. :)
set steam_webApiKey 8A50936D7ECE8F92E515DED1015A3179  

# License key for your server (https://keymaster.fivem.net)
sv_licenseKey In the original I have the key

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

I hope you get it fixed, best of luck

Are you sure port 30120 is also opened UDP?

Yes.

image
image

I also get this error. using direct connect via ip can be connected successfully. just when connecting using cfx.re it will show failed to get info do i need to foward any other port?

Have you found any solution?
@LelouchTwT

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.