Need help accessing a port from within my LAN (XBMC remote)

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MSeries

Need help accessing a port from within my LAN (XBMC remote)

Post by MSeries »

I have Mint 13 with Cinnamon 1.6.7 and have installed XBMC which works well, it can retrieve content from the internet and from my MiniDLNA server on my Ubuntu server machine. I want to set up XBMC Remote from my Android phone and I have followed the instructions properly. It needs to access the XBMC server on port 8080 but it can't find my server. So to test it, I stopped XBMC and started Apache Tomcat on port 8080 and attempted to access this from the same Android phone, it failed. I am sure the problem is not related to my router because I can access my ubuntu server on all ports that I need to. The firewall on the mint machine is not enabled but my problem is like the port is blocked. I have tried ports 8085 and 8080, both with the same problem. Can anyone help me diagnose this ?

thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jawgrape

Re: Need help accessing a port from within my LAN (XBMC remo

Post by jawgrape »

Can you get to the http using 8080 server from a laptop or different computer on your network?

If you can it at least tells you that the server is running and listening on the proper port.

Another way of checking to see that the server is listening on the port you expect is to run the netstat command:

Code: Select all

netstat -l

jaw@pyrite:~$ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:mysql         *:*                     LISTEN     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN     
tcp        0      0 *:http                  *:*                     LISTEN       <<<<<<<<<<< this server is listening on standard http port (80)
You should have an entry for :8080 instead.

Yet another way is to run nmap (google it) from another host on your network, and it will report if your server can be connected to from a seperate host.

One or all of these should help to tell you if the server is running like you think it is, or if the android device is part of the problem.
MSeries

Re: Need help accessing a port from within my LAN (XBMC remo

Post by MSeries »

Thanks for taking time to answer. When I did netstat -t with my http server running on 8080 I did not see it listed. There server uses other connectors on other ports and these are listed. I stopped my wifi and plugged in a CAT5 cable and everything is now OK. I can browse to the webserver on my Android and when I start XBMC on 8085 I can use the remote properly. So, whatever the problem is, is specific to my wifi. The Ubuntu server I spoke of earlier is not using Wifi so it's not clear at this point if the problem is with the laptop or the router. I'll boot us a Windows XP lapop and try that, if it works then it'll be due to the laptop and not the router.
jawgrape

Re: Need help accessing a port from within my LAN (XBMC remo

Post by jawgrape »

ok glad your issue is isolated to your wifi set up, at least you've narrowed it down.

But just so you know netstat -t doesn't tell you what port the server is listening on. -t tell you what tcp connections are established at a snapshot in time. :D
Locked

Return to “Networking”