Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] What ports need to be opened on pc firewall to allow broadcasting to work ?

Author
Message
eejit
7
Years of Service
User Offline
Joined: 25th Mar 2017
Location:
Posted: 21st Sep 2018 21:26
Running agk on linux, works great however with the recent addition of a firewall I've discovered broadcasting no longer works.

If I disable the firewall of course all is well, anyone know what tcp and/or udp ports need to be opened on the firewall to allow broadcasting to work without having to completely disable the firewall ?

The author of this post has marked a post as an answer.

Go to answer

fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 23rd Sep 2018 09:03
Well you got further than me, there really should be documentation on setting up broadcasting
Im not even sure what particular port range is good lol then i'de open them on windows and then on
modem. Still on a todo list lol
fubar
Dybing
12
Years of Service
User Offline
Joined: 12th Sep 2011
Location: Bergen, Norway
Posted: 23rd Sep 2018 11:10
Use a packet-sniffer like Wireshark, and you'll soon find what ports AppGameKit broadcast on.
puzzler2018
User Banned
Posted: 23rd Sep 2018 11:21
This post has been marked by the post author as the answer.
m_iBroadcastPort = 5689;
m_iConnectionPort = 5690;
m_iBroadcastPortv6 = 5691;
m_iConnectionPortv6 = 5692;


Hope this helps
eejit
7
Years of Service
User Offline
Joined: 25th Mar 2017
Location:
Posted: 23rd Sep 2018 12:18
Brilliant , thank you. I added rules for these ports, and broadcasting works with the firewall enabled
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 23rd Sep 2018 17:38
inside agk editor, go to build -> build options -> build -> then there you will see the broadcast port and some other settings
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu

Login to post a reply

Server time is: 2024-04-26 02:13:38
Your offset time is: 2024-04-26 02:13:38