No other users can join any server i make

OS Name/Version: windows 11 pro

Product Name/Version: (Always use the full version number - not ‘Latest’)
AMP 2.4.4

Problem Description:
others cannot join my server, i can join my own on a separate computer within my house. originally, we were attempting this with mods but even after creating a new server without mods they cannot join, they weren’t even prompt for entering a password. what do i need to do or what should i be checking for? nothing seems obviously wrong

Steps to reproduce:

none, even starting a fresh server without mods and they still cannot join

Actions taken to resolve so far:
not sure what to be checking for this

i made a post two days ago about this but the forum wont let me reply anymore because “An error occurred: Please wait for other users to participate before replying” but here’s the situation so far and i hope someone can help me. i think i just aggravated the person trying to help me out cause they just quit responding or too busy helping other people out but anyway…

i was refered to with this link Diagnosing Connectivity Issues - Docs - CubeCoders Support so i followed the steps there with theres results…

ive made sure the application runs, which it does, no issues there.

i checked to see if the application is lsitening using the command prompt ampinstmgr ports valheim01, it shows 3 ports that are all listening.

next i checked the fireall rules using ampinstmgr dumpfirewall which looked ok. for shitsNgigs i also used ampinstmgr updatefirewall which produced this error.

C:\Windows\System32>ampinstmgr updatefirewall
[Info] AMP Instance Manager v2.4.4 built 17/05/2023 17:54
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly ‘SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
[Error] at ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit)
at Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit)
at InstanceManagerPlugin.LocalInstanceManager.<>c.b__273_0(TypeInfo t)
at Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName, IEnumerable`1& Dependencies)
[Info] No new firewall rules to add
[Info] No existing firewall rules to remove

the output for ampinstmgr dumpfirewall was
C:\Windows\System32>ampinstmgr dumpfirewall
[Info] AMP Instance Manager v2.4.4 built 17/05/2023 17:54
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Info] UDP/2459 (AMP:TestServer01:GenericModule.App.ApplicationPort2)
[Info] TCP/2459 (AMP:TestServer01:GenericModule.App.ApplicationPort2)
[Info] UDP/2458 (AMP:TestServer01:GenericModule.App.ApplicationPort1)
[Info] TCP/2458 (AMP:TestServer01:GenericModule.App.ApplicationPort1)
[Info] UDP/2457 (AMP:Valheim01:GenericModule.App.ApplicationPort2)
[Info] TCP/2457 (AMP:Valheim01:GenericModule.App.ApplicationPort2)
[Info] UDP/2456 (AMP:Valheim01:GenericModule.App.ApplicationPort1)
[Info] TCP/2456 (AMP:Valheim01:GenericModule.App.ApplicationPort1)

and when i ran ampinstmgr ports i got this

C:\Windows\System32>ampinstmgr dumpfirewall
[Info] AMP Instance Manager v2.4.4 built 17/05/2023 17:54
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Info] UDP/2459 (AMP:TestServer01:GenericModule.App.ApplicationPort2)
[Info] TCP/2459 (AMP:TestServer01:GenericModule.App.ApplicationPort2)
[Info] UDP/2458 (AMP:TestServer01:GenericModule.App.ApplicationPort1)
[Info] TCP/2458 (AMP:TestServer01:GenericModule.App.ApplicationPort1)
[Info] UDP/2457 (AMP:Valheim01:GenericModule.App.ApplicationPort2)
[Info] TCP/2457 (AMP:Valheim01:GenericModule.App.ApplicationPort2)
[Info] UDP/2456 (AMP:Valheim01:GenericModule.App.ApplicationPort1)
[Info] TCP/2456 (AMP:Valheim01:GenericModule.App.ApplicationPort1)

and on my router i portforward 2456-2459 to my PC

so to my understanding everything seems like its working fine and people should be able to join my server but nope…

what am i doing wrong?

Hi Jamison,

Just a couple of questions for you.

When you said you port forwarded. Which protocol/s did you forward? As you can see there’s a mix of TCP and UDP that your server is listening for. Are you sure you are forwarding both?

Secondly, is your server/pc configured to use DHCP? If it is, have you reserved your MAC address a specific IP to use? If you’re using a dynamic IP your router will continue to forward ports to whatever address you plugged in and won’t update it if your PC gets a new address.

I’d also suggest getting someone to run a portscan on your public IP and confirm if they can see the ports are open. Use something like nmap (zenmap if on windows) or even just try a powershell line of

Test-NetConnection -Port 2456

I hope this helps you out. Good luck :slight_smile:

1 Like

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