Question 2 Apps on phone using same Host ip on pc?

mikehende

Distinguished
Mar 20, 2013
359
8
18,795
Hey guys, I don't know in which type forum or where exactly to seek help for this issue please.

For years I was simply typing my desktop pc's IP address on google on my iphone to remotely [wireless] control my music software on my desktop pc. Now, I am using another phone App [TouchOSC] to control another music software on the same pc but the first App is not connecting anymore. both Apps on my phone are using different ports so I cannot see that as the issue. '

I guess my question should be can a phone run 2 apps using the same IP address on a pc? Or any referrals to any specific forum which I might get help for this specific issue would be great, thanks.
 
That is the whole reason ports even exit. A server need to know which application to send the traffic to. Even when you are doing something simple like surfing web pages a bunch of different ports are used temporarily so all the different things being opened return the data to the correct session.

It has to be related to how you have the software setup on the PC I would think. You can see what programs are listening on what ports in the network tab of the resource manager.
 
  • Like
Reactions: mikehende
Thank you! Now I can see both App's ports showing "Allowed, no restrictions" so anything else I can check to see why one phone App [TouchOSC] is working fine triggering the fx on the pc but the other one is not connecting please?

IMG-3216.jpg
 
Are you sure they do not both use port 80 and the first application took the port.

A UDP port is a very unusual port for access.

This is almost impossible to say without detailed knowledge of the applications.

Be nice if the program told you why it can not connect.

You need to see what ports the applications are attempting to use. I would use wireshark to capture the traffic. Start on the pc since it is easier to install. I have not used Iphone much but it is support to have the ability to capture in the OS. I am pretty sure you can also load wire shark but there might be other apps that work better on apple stuff.

Your goal is to be sure the packets are on the ports you think they are and that the program on the PC actually responds to data being sent to it on those ports.
 
No as the screenshot shows both apps are using different ports. I got an answer from the developer of the non-working APP this morning stating:

Hi Mike,

OtsAV does not use those ports [that the other App is using]. You can set what port OtsAV uses in the menu settings for RAC. Default is port 80.

You will need to investigate your router/PC/firewall network settings if you are having trouble accessing externally. You can test OtsAV on the actual machine by just typing "localhost:80" in a browser (or whatever port you have set).

I have written back that when I type localhost:80 it is showing an error so it appears to be something related to this app now, waiting on their reply.
 
I was sent this message by the developer:

Hi Mike,

It is probably some other software/server is using port 80 on that PC and getting priority even though it's not responding to the packets. Change OtsAV to a different port like Port 90 or similar in RAC menu settings, and then try localhost:90 on the local PC (not on your phone - on your phone you would have to type the LAN IP of that PC, if the PC and Phone are on the same local network, followed by colon 90 (the port). E.g. 192.168.0.23:90 ).

the localhost:90 is working on the pc so I can see and use the app in the browser but typing the IPV4 address like this with 90 is not working:
192.168.00.00:90

Since TouchOSC is working fine that means no issue with signals from the phone to that pc so any ideas please?
 
This is some kind of app problem not really a network issue.

Could be there is something strange restriction on the phone when you try to use web type traffic on a non standard port.

Again you are still kinda stuck because you don't know if the phone is sending traffic on the correct port and if the pc is actually receiving the traffic and the application responding. This is where better messages in the app would help as to what exactly is not working.
 
Sorry I don't know what other info to give? Whenever I now type the localhost address in google on the phone it simply shows "Your search 192.168........ did not match any documents".

This was all working perfectly for a long time so this is a new problem which developed all of a sudden and in this case this is not an "app" on the phone since it requires only to type a Host IP address to have access to the actual App which controls the music software.
 
This from support so I am stuck:

Hi Mike,

the localhost:90 is working on the pc but typing the IPV4 address like this with 90 is not working:
192.168.------

This confirms it's a networking issue. It's therefore outside of the scope of OtsAV itself. You'll need to seek help from a local IT technician with networking experience who can see your whole setup and what you are doing in detail and advise accordingly.
 
The problem you have is when you talk "network" when you run on a lan there are only really 2 devices. The router is pretty much acting as a ethernet cable and simply allowing traffic to pass. Even if you wanted to the router has almost no ability to limit traffic. This not like you run over the internet where there are lots of routers etc that can mess with the traffic.

So this leaves the pc and the phone. You might "technically" try to call it a network problem but it is some setting in some app or in the OS preventing the connection.

It is not even a basic network problem. Since some communication works it means thing the IP addresses etc are correctly configured.

This is why I really hate phones. They are magic swipe the icon and are great until they don't work. There is no magic swipe that will debug a network connection and phones unless you hack them.

If you have another pc in your house I would try that. If both do not work then I would more look at the server pc being the problem.

The method I would use to trouble shoot this is to load wireshark on the client. Then using the telnet command connect to port 90. It of course will not work because your application is not using telnet but you will see the session be established in wireshark and then closed. It would mean the port is properly open on the server pc.
 
Seems to be a phone issue as my son's phone is connecting fine to the RAC and my phone in also not connecting to the RAC in the trial version on my son's pc , problem is, how do I fix this?
 
Last edited:
So I uninstalled Touchosc from my phone then my pc's net connection got disabled which is confusing why that happened so I reconnected and now OTSAV software app works fine again.

I have no idea what to do now with TouchOSC.
 
Hey guys, I am trying to connect to apps from my phone to my pc but it's either one or the other as they both are using the same host IP address but only one will work.

I am wondering if there might be a way to have each App connect to the pc via 2 different ip addresses on the same pc, is this possible in any way at all please?
 
Last edited:
Hey guys, I am trying to connect to apps from my phone to my pc but it's either one or the other as they both are using the same host IP address but only one will work.

I am wondering if there might be a way to have each App connect to the pc via 2 different ip addresses on the same pc, is this possible in any way at all please?
You already had a thread on this topic. One thread per topic is the rule on this board. Your thread was merged here.
 
Makes more sense when the threads are merged actually.

So you can assign the pc multiple secondary IP addresses it is under the advanced tab in ipv4 settings. I have never used it like you are proposing I have only used it to run completely different subnets.

You can set a second IP in the same subnet if you want though. What you are going to have to figure out is how do you get the app software to use this secondary IP. Maybe it just works I have never done it for a "server" type function with incoming sessions. It likely is possible but you are going to have to search a bit to find what is needed to accomplish this if it doesn't work by default. Use of secondary IP addresses is a very non standard things to do so it might be a bit hard to find.
 
Sorry. I found the thread below and am trying to follow along with the instructions on how to setup 2 ip address on a windows 10 machine here:

https://forums.tomshardware.com/faq/can-my-computer-have-more-than-one-ip-address.1606720/

but that seems to be a little outdated. Anyways I am up to this screen where I have to add the 2nd ip address [I think].

Please see attached screenshot of my steps taken. If I need to enter a somewhat similar ip address to my actual ip address in the IPV6 address field then can anyone tell me what do I enter in the "Subnet Prefix Length" box under it please? Thanks.

https://i.postimg.cc/9XZhnhPW/ip.png