Unable to specify IP in endpoints
See original GitHub issueHi @tabarra
FiveM allow specifying IP address in the endpoint in situations where you do not want to bind to all interfaces, from the top of the config:
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
When setting my IP in the above, I get this error:
[txAdmin:FXRunner] FXServer config error: You MUST have one endpoint_add_tcp with IP 0.0.0.0 in your config
Which I’ve traced back to this:
let validTCPEndpoint = matches.find((match) => {
return (match.type.toLowerCase() === 'tcp' && (match.interface === '0.0.0.0' || match.interface === '127.0.0.1'))
})
if(!validTCPEndpoint) throw new Error("You MUST have one <code>endpoint_add_tcp</code> with IP 0.0.0.0 in your config");
Is this a limitation with txAdmin? How can we bind to specific IP addresses as this looks to be supported by FXServer but is prevented by txAdmin
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to start the server with IP address binding
When there is an IP address binding, the backend listens only to the network interface with the specified IP address. Thus, server connector...
Read more >Other endpoints not included in the Office 365 IP Address and ...
Row Purpose Destination
1 Import Service for PST and file ingestion Refer to the Import Service for more requirem...
6 Customer on‑premises EWS/MRS Proxy TCP...
8...
Read more >Solved: Unable to connect to endpoints - Cisco Community
Solved: Hi I now have a bit of a problem with something that was working last week but is not working now. I...
Read more >Allow specific IP addresses access to an API Gateway REST API
I want to allow only specific IP addresses access to my Amazon API Gateway REST API. How do I restrict access to my...
Read more >Troubleshooting a DHCP server failure - TechTarget
Dynamic Host Configuration Protocol, or DHCP, eases the task of administering IP addresses for network endpoints by centralizing address allocation ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Open config.json file, and in the
globals
property you addforceFXServerPort
with the port you set for the localhost endpoint.I’m closing this issue, feel free to join out Discord if you want.
Hi, would you be willing to help me? I had the same problem as you, everything is already working for me except that one of the servers is not showing in the server list