Web Sphere MQ 8.0 not connecting from home while same connects in office well - networking

While I try to connect WMQ 8.0 from Home , It gives me error and getting failed while same Queue manager connects perfectly while I connect from office.
Queue manager name with host and port : MB8QMGR on '192.168.26.128(2414)'
Below is the error connection.
Could not establish a connection to the queue manager - reason 2538(AMQ4059).
kindly suggest me what's wrong with this.

In case you're not already aware, MQ Return Code 2538 is MQRC_HOST_NOT_AVAILABLE. This means that you have not managed to make the TCP/IP connection to your queue manager.
This is really a networking question rather than specifically an MQ question. Your question shows the IP address of the queue manager being a 192.168 address. This is a private network address. This means you can't connect to it from outside that network. You'll probably find that you have 192.168 addresses at home as well, but that does not mean you are on the same network.
My understanding is that even with a VPN getting you inside you company network, you still need a real IP address to connect to, but someone with more experience of private networks may be able to confirm. Talk to your network people at work and ask them how you should connect to the server your queue manager is on, from home. Once you can TCP/IP ping it successfully, then attempt to an MQ connection.

Related

How to setup SQL Server Express on local network with wireless router

Guidance on how to connect to SQL Server 2012 needed.
I am on Windows 10 Home Edition
I have set up SQL Server Express to allow remote connections on my database machine to serve up data to three client machines.
Firewall has been set for ports - check
Allowed mixed mode logins - check
Setup IPs through SQL Configuration Manager - check
The server is something like 192.168.1.40,1433 and I can login successfully through SQL Server Express on my client machines. I had a long LAN cable running along the floor which is not optimal. So, I went to the store and bought a router so that I could connect wirelessly but have limited experience in networking.
After, installation of the router I can no longer connect to SQL Server. This makes sense since there is another piece of hardware in the chain.
After doing an IP config on the command line I see that the IPV4 address has changed. I assume I am not picking up the private IP address of the router rather than the modem that I was initially connected to.
Should I be port forwarding?
What are my options?
I explored what I thought may be reasonable leads to get this working.
First, I tried to create a virtual server (I also assume this is how to port forward on my particular router). I didn't really know what to put in five fields that were given other than server name and Protocol TCP or if I was on the right track at all.
The other three fields consist of:
External Port, Internal IP, and Internal Port
If this is a reasonable solution can you let me know what to put in these fields and any changes to the SQL Server configuration or firewall might be?
Should I VPN ?
After exploring this option on google I also notice people saying, "set up a VPN is the correct way to go." However, I don't really know how to do this. The only VPNs I know of are external VPN providers. It seems that I would be setting up a VPN server if I am not corrected(maybe on the server computer) and connecting via my client machines.
Any clarification or direction would be greatly appreciated. I am sure I have missed the mark on many things here but still would like to make ground.

connecting to another network present in one network

I have been trying to create a server in one network but the people in another network cant connect to my server? Even though my IP is dynamic (dhcp :yes)
I want to create a server in one network but want to connect people to that server present in another network. I started a server "eg: 103.251.9.85:27015"
even though my IP is dynamic, they can't connect to my server? Help me ...
who ever knows my IP address and port number will connect to my server, but when I am starting a server they cant connect.
Your server needs a DNS record.
DHCP is great for allocating an IP address - but you then have to manually tell everyone what the IP Address is.
You should define your Server in your DHCP configuration, assuming that there is a DNS Server also.
By default the DHCPD informs the DNS Server - assuming they are both under your control.
First ensure that you have network connectivity between the nodes - there can be NATs, Firewalls and a lot of different reasons why you can not connect. My advice for you would be to try and use netcat.
Once you have netcat on your computer - start it in a server mode. Then ask your friend to download netcat on his/her computer and connect to your IP address. If you can establish connection - great. Then make a question regarding your server program. If netcat fails - then there is network connectivity issue and you will find better help for those issues in the power user or network engineering Stack Exchange sites.

How To Access FileZilla Remotely?

I've Created My Own FileZilla FTP server and I wanted to access it from my local Network.
So I've done that. but there are Two Problems I'm Facing right now.
Problem 1:- Can't connect ON PC which is connected with same Router But with LAN
My father's PC is connected with LAN And My Laptop is Connected with WiFi
So over WiFi with Any Device I can connect to my Server but when I try to connect my FTP to my father's PC (which is connected on LAN and with same Router)
I can't connect it
Problem 2:- Can't connect it Remotely
I want to access my this FTP server with Internet so that I can connect it with Remotely. I've referred on so many websites. but Can't Find a complete step by step Tutorial... I've Configured my FTP but still Can't connect it with Internet for remote access.. plzz help me out.
Thanks In Advance...
Problem 1: As you say wifi-connected devices can access the server, so there are different cases you shall check, as where my experience reaches, these two might be the reasons:
Is client/network isolation enabled in your router's wifi settings? This can be checked and solved by accessing your router's management console.
Is your father's PC on a different subnet (XXX.XXX.SUBNET.XXX)? If so, you have two choices, changing all devices' subnet masks to 255.255.0.0 (This might be applicable in your router's DHCP settings too.), or changing your father's PC's IP address to match the local subnet.
Problem 2: This has two solutions, both need resources that might not be worth it, but yet:
Connect to a virtual private network on the cloud (VPN), this way, your PC will become a part of a private network. You can connect other devices from other networks which can access the VPN server to the private network, so your PC and the device will now be in a same network like in your home network.
Some ISPs provide static IP addresses or internet plans with static IPs. Check if the internet plan you use is so, if not, you might be able to rent an IP address from them. With static IPs your network can be accessed from the internet. Anyway there might be a bit of effort needed to ensure that your PC is accessed in the first place.
And just letting you know, this question must be moved to the Super-User Forums.

Networking: How do wifi enabled IoT products allow remote access?

I have been looking for an answer to this problem, but I cannot find what I am looking for. I think, perhaps, it is because I lack the knowledge to ask the question in meaningful way.
I have been learning a lot about remote access to devices at home. I know that ISP's change public IP addresses regularly (dynamic IP address). I know that to get around this, one could use a service like "no-ip", etc. Or one could get a static IP address.
What I do not understand is how some of the latest home automation devices are able to be controlled remotely without use of a static IP, or a service like "no-ip". For example, a wifi enabled thermostat, or lighting system.
If the device had a built in server, or client, then I assume that the device could connect to an outside server in a remote location. The user could then also log into that server and send commands to the device. What I don't understand is how commands sent to the device from a cell phone, for example, can reach the home device. Presumably the off site location of the server would have to know the public IP address where the devise is located, and then port-forwarding would have to be set up to allow access to the device.
What am I missing here? Is it possible to create a homemade wifi enabled thermostat, webcam, or other device without using port-forwarding, no-ip, or a static IP?
Well, there are several ways to bypass the inbound connection constraint of NAT protocol. Such as:
A virtual adapter on the device configured to a VPN server that has an inbound port open ready to transfer data. Various open source solutions such as openVPN are considered as great examples for this service over IOT boards like Raspberry Pi, Beagle Bone, etc. These are used as gateways often. Further, they communicate with the microcontrollers over popular IOT protocols such as MQTT, COAP, etc.
Another solution is to create a port forwarding tunnel, since the router won't block the outbound connection. There are various tunneling services that are availble such as localtunnel, ngrok, etc. You could also use a cloud server that has a public IP such as AWS, DigitalOcean, etc. Again as above mentioned point, they can be implemented in the gateways.
Some devices "phone home" to a server so that there are ports open between them and the servers, and the mobile apps just contact the servers. This is the same way your web browser can receive web pages from a web server. If you have a NAT router, the router must open a port from the inside device to the outside server. This is maintained in a NAT table with expiration timers for UDP and session monitoring for TCP.

How to make the ip of my computer public so that devices outside the same network can access webservice in that particular ip

i have an android application using webservice which is working fine from inside a network. i mean, if both mobile and computer are connected to the same network, i can run the app perfectly, but if i change network of any one of it to another network then, 'cannot establish connection to server' error is shown.
What i want is to get an ip from which i can acess the app from any network
this is how my connection code in the android application looks like
mWebview .loadUrl("http://192.193.194.195/Application/startpage.php");
please give me step by step instructions, i searched for it a lot, but i couldnt find a good answer for my level 0 networking knowledge :)
Thanks
You have to host the server on a public IP address where every network can see the server.
Then you have to use the external/internet ip addres of your router. Find out with http://whatismyip.com Then on your router forward port 80 to your pc with ip 192.193.194.195.

Resources