Jump to content

Firewall and router port settings


pd veeps

Recommended Posts

pd veeps

I had to reset my firewall and network settings because something seemed corrupt with my network and wanted to clean up my system from old uninstalled programs. So I want to make sure I have the right port settings.

 

I'll use the default http server port of 8096 and web socket port 8945 for these questions.

 

My questions....

 

1. What's the difference between the http server port and the web socket port? Should the web socket port 8945 be used for external access over the web, while port 8096 used for access within the home network?

 

2. I added an inbound rule in windows firewall to open port 8096 on my firewall. I also forwarded port 8096 internal and external on my router.

 

3. Should I also open port 8945 in my windows firewall. Should my external port that I forword on my router actually be 8945?

 

4. Remote and local network access using port 8096 has worked but I think I've always had it setup incorrectly.

 

Thanks

Link to comment
Share on other sites

Scott750

I don't know the difference between the 2 ports but I know you have to forward both ports to access the server outside the home network.

 

Sent from my SM-G900V using Tapatalk

Link to comment
Share on other sites

8096 is used for the main http communication API between the server and apps.  This communication is primarily one-way where an app makes a request and the server responds.

 

The Websockets provide a two-way or "push" type communication capability between the server and the apps.  This allows the server to notify client apps of things like the library was just refreshed and there are new items.  This is how MBC shows you the new item notification and also how all the clients respond to remote control commands.

 

In Win 7 and below, websockets must run on a different port than the normal http traffic.  In Win 8 they actually can share the same port so, if you have a Win 8 server you will notice only the one port in use by us and you would only need to forward that one for external access.

 

If you don't open 8945 externally for a Win 7 server, everything except remote control and the two-way notification stuff should still work.

Link to comment
Share on other sites

dannieboiz

8096 is used for the main http communication API between the server and apps.  This communication is primarily one-way where an app makes a request and the server responds.

 

The Websockets provide a two-way or "push" type communication capability between the server and the apps.  This allows the server to notify client apps of things like the library was just refreshed and there are new items.  This is how MBC shows you the new item notification and also how all the clients respond to remote control commands.

 

In Win 7 and below, websockets must run on a different port than the normal http traffic.  In Win 8 they actually can share the same port so, if you have a Win 8 server you will notice only the one port in use by us and you would only need to forward that one for external access.

 

If you don't open 8945 externally for a Win 7 server, everything except remote control and the two-way notification stuff should still work.

That's interesting because I can access my contents remotely just by forwarding 8096 to my server hosted on W7 x64. 

Link to comment
Share on other sites

That's interesting because I can access my contents remotely just by forwarding 8096 to my server hosted on W7 x64. 

 

If you don't open 8945 externally for a Win 7 server, everything except remote control and the two-way notification stuff should still work.

Link to comment
Share on other sites

Tikuf

yes if you want full functionality no if you don't want remote control or two way notification

Link to comment
Share on other sites

Scott750

With both ports forwarded/open on my router, will this open up my server to attacks or hacking?

Link to comment
Share on other sites

Scott750

Haha Thanks guys! I figured as much. Luckily if someone does hack my network they'll have 100s of hrs of Dvds/BluRays to enjoy and nothing else. ;)

Link to comment
Share on other sites

dannieboiz

Anyone?

Opening any ports will but if someone really wanted to get into your network they will open or nor

Link to comment
Share on other sites

Yea the port setting is basically unlocking the side door, but most good thieves know how to use a lock pick anyway :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...