Port forwarding can not find the device - portforwarding

I have a TD Vision DVR and can watch the video stream connected to DVR by android application XMEye.I want to watch video directly by using ip address of DVR in every where .
I can see the video in home network by using ip address
192.168.1.108 inside internet explorer .
I set the Port forwarding in my Zyxel modem from Port 80 to Port 80 .
But when I put the modem external IP inside the browser , the page for login appears and I enter the user and pass but there is a prompt that can not find the device.
What should I do to solve this problem?

Related

how to set static ip to pc

I use tor proxy and i set the tunnel port to 192.168.1.2:9050.
I also set my router dhcp that give 192.168.1.2 to my pc
but my problem is that sometimes I use another router or my phone hotspot and they give my pc anothre ip (like 192.168.43.164/24) . I can't set their dhcp. so tor doesn't work.
Is there any way to always get the same ip ?
Or Is there any way to refer my wifi ip (something like localhost that refer to 127.0.0.1) to set in tor?
Your phone hotspot gives you a different DHCP's IP because it is threated as another network bridging one network (your PC) to another one (current network connected on your phone).
If you are using wireless hotspot and connecting to your phone's network on wi-fi, that is not possible because tethering IP that is provided for your phone router to use DHCP services is hardcoded in com.android.server.connectivity.Tethering, unless you have root access privileges.
And that it the reason to your phone routing service (USB Bridged or Wi-Fi Hostpot) gives you always an 192.168.42.X IP address.
If you are using Android, you can get more details in this thread on Android Enthusiasts in Stack Exchange:
https://android.stackexchange.com/questions/46499/how-configure-the-dhcp-settings-of-wifi-tethering-hotspot-on-android

How to access an IP Camera in chrome

I have 2 different IP cameras. When I use sign in to my NEW router I can see one cameras IP address there:
192.168.1.100
I also have another IP camera that I long time before found in ipconfig in cmd on the below address
192.168.1.4
I could then before enter only the 192.168.1.4 in chrome browser and it logged in to the IP Cameras settings page where I could change its port to 1024 so I now can enter in Chrome: 192.168.1.4:1024 so log in to the camera. However this IP camera 192.168.1.4 is not shown in the devices on my NEW router.
The problem is:
When I enter 192.168.1.100 in chrome, I only get a "Website can't be reached" I also can't find out what port this IP camera use. I have used WireShark and other port sniffer tools.
Any idéa of what to do in order to get to the cameras setting in chrome or get a connection with this camera. Finding out the port to 192.168.1.100 should be one factor I beleive?
(If I use "Onvif Device Manager" this software automatically find the camera and shows the feed which means that something is working. But it doesn't provide what http port that it is found on)

Connecting fingerprint biometric device to desktop

I want to access the contents of the biometric device using a command prompt or a shared folder instead of using the software that comes with it. I am new in networking, I did the following:
1. Set a static IP to my biometric device: 192.168.1.201 port 4370 (default)
2. configure ethernet in my PC using ip: 192.168.1.1, subnet 255.255.255.0
3. Connected my PC to the device using crossover cable.
The device is pingable, my firewall is off. I cannot access the device in browser http://192.168.1.201, or in directory \\192.168.1.201
I am planning to create a vbscript or a php code to access the biometric instead of the software that comes with it. So as a requirement, I need to have access to the device
You can not access the biometric machine through telnet. The username and password is set by the manufacturer. They will use the telnet account credentials only for their internal development and testinng purpose. #Hans-Martin Mosner, machine can well connect with port 80. Only thing is software will not listen at port 80 as it has been bound with http. If you remove the port 80 from listening for http then you can make your application to connect with port 80
If you are trying for accessing the biometric machines to associate with your web application, go for CAMSUnit machines. CAMS provides the WEB APIs for their biometric machines. It supports registering the callback URL which gets called every time new attendance gets registered.

Same ip address for multiple devices?

I want to develop an Android app that connects with a Windows desktop application via TCP/IP.
However I have very little knowledge of networking and so please forgive me if this is a very basic doubt.
My Windows based laptop as well as Android phone are connected to the internet via the same WiFi router.
Now I checked the IP address for my laptop as well as phone using a website.
Both are same!
If both have the same IP address, then to achieve networking between these devices I will choose different set of port numbers.
Will this connection work?
Is the connection happening via the internet or just locally on my
router?
EDIT: After reading the answer from #Doon, I have broadened my question.
Let's say the local address of laptop is 192.168.1.10 and that of phone is 192.168.1.20.
If I code my application to use these IP addresses, it should work as it is a local network.
But what if I want my laptop to connect with another phone which is not connected to the WiFi router, rather by 3G network.
Then which IP address should be used for the laptop and the other phone?
Since I am not allowed to use any other server, I am going to use port forwarding i.e. the user will type in the IP address displayed on the other device. The connection could be initiated on either one of the devices.
If you could also show how to do this programmatically, it would be very helpful.
My Windows application is developed in C++ using Qt.
All of your devices are sharing 1 external or WAN IP address using NAPT (network address port translation). Internally on your LAN each device has its own address. So yes it will work but you are going to need to use internal addrss and the devices actual IP address not its perceived address via an external service.
As for the connection locally or via router that all depends on where you are connecting to. If both end points are on your lan or on the same Subnet then the router will not be involved. So in the average home network between your phone and desktop both connected to the same network say via wifi then they are most likely layer 2 adjacent (see the OSI 7 layer model for more info on layer 2 vs layer 3). But once they are not on the same network then routing will be involved and your router will be used. If the phone is connected to 3G or the cell data network and you want it to talk to your desktop on your home network you are going to need to deal with port forwarding on your router and other such fun things.
In regards to updates. Once you leave the local network it gets more complicated especially with IPv4 as address are running out so there is more and more use of nat or IPv6 with 6 to 4 gateways. Do you want the laptop to initiate connect to the phone or phone to the laptop? But normally you will need to iterate your address on your interfaces. Then connect with an external service to get your external IP address and compare and see if they are the same. if both endpoints are dynamically assigned you will need some sort of location mechanism could be dynamic DNS could be locator service etc.

Open website via computer IP address while running tomcat locally with a router?

I'm working on a website for a friend, developing using Eclipse/Tomcat. I'm running it locally and trying to open it via my internet port IP address, but I can't get it to work. The computer I am running it from is connected to a router, so it is running off of 192.168.1.4, and http://192.168.1.4:8080/Mobile_Site/index.jsp works. However when I try and open it via my internet port IP, http://67.xxx.244.xx:8080/Mobile_Site/index.jsp it doesn't find it from any device, even outside my local network. Is there a way to send the link when running locally when connected to a router?
You have to configure your router port forwarding (or virtual servers depending on the router) to forward TCP connections from 67.xxx.244.xx:NNNN to 192.168.1.4:8080.
Then you give the 67.xxx.244.xx:NNNN address to your friend.
Note: NNNN at your router doesn't need to be 8080, as long as the port forwarding is set properly.

Resources