Azure FTP & WCF endpoints added but no access? - wcf

I have setup a test VM and I am trying to get FTP via FileZilla working and connect an IIS website to an external WCF service. Neither are working, I have tried disabling the windows firewall to rule that out as well.
I have setup endpoints as below.
Incoming
Outgoing

i have just set up the FileZilla server on Azure VM.
That is what i did:
1) Install FileZilla with default settings
2) Set up the passive ports range. In my case it is 60000-60000.
3) Created outbound/inbound exceptions in firewall to allow "FileZilla Server.exe"
4) Using Powershell (i think that can be a problem, because there are some nuances when you create it on Azure portal):
Add-AzureAcccount
Get-AzureVM -Servicename "myvmcs"-Name VM1 | Add-AzureEndpoint -Name FTP- Dynamic-60000 -Protocol TCP -LocalPort 60000 -PublicPort 60000 | Update-AzureVM
5) In FileZilla server settings, i have added user, shared folder and in Passive mode settings i set "Use the following IP" into the domain name of the VM.
Tried to connect it using a few different clients, and it works.

Related

apache mina FTPS on remote requets not works

For the Apache MINA FTP Server SSL FILTER configuration : I tried everything and I read more than 50 posts on stackoverflow to find the error. But still no solution.
Problem Is that,
When the SSL Filter Enabled for the Apache MINA FTP, it is working on server side and at the Server Locally FileZilla Client Can Access to server over implicitSSL it works without problem.
I allowed the 21 port and passive ports over firewall for all ips.
But when the remote client wants to access to the server, SERVER getting request but session.write not works then MINA can not switch to USER exec, SO REMOTE client can not connect FTP server.
But when I disable implicitSSL mode on SERVER side, CLIENT can connect . SO, without SSL, Client Connect Remote SERVER. It is tricky But WHY, what is the problem.
If the problem is firewall , why the client connects when I disable implicitSSL.
If the CODE is or configuration is the problem, WHEN I enable implicitSSL =true, WHY local SERVER filezilla application can connect to server over implicitSSL.
**
Please help.
**

How to change the "cn" value to IP address instead of localhost in websphere Application server

I am trying to set up a client-server EJB using two different machines on my network. while installing WAS server it prompted me to add admin credentials, so LTPA is enabled (hope it enabled SSL). Now on client EJB deployed WAS server I have to configure the outbound IIOP SSL certificate(Correct me if I am wrong on this). But unfortunately in the server WAS admin console I can see SSL Signer certificates cn(Host/domain) parameter as localhost. the same "localhost" is arriving when I try to "retrieve from port" in client EJB WAS server.
I have attached the "Retrieve from port" screenshot
Client WAS retrieve from port action
Even I have tried changing the hostname in the server WAS under the Server-> Communications -> Port to IP address instead of localhost.
I expect it should bring domainname.ipaddress
"Retrieve from port" action always brings "localhost" from the remote server
As per the comment by #Gas, I am following this below link
https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tsec_sslreplacecell.html
will update in short

Mule application url - MMC

I have installed the trail MMC. depolyed 2 application there. 1 using mule console and second using Cloudhub(target- configured mmc server there).
what would be the url for both.
tomcat is running on port :8585
serverName: himserver-onpromice
applicationName deployed using mmc console: findName
applicationName deployed using clouhub console: getMyName
I checked with below but not working,..
http://himserver-onpromice:8585/getMyName/
MMC is on-premise deployment and hence it will use the ports configured inside your mule application. If we assume you are using HTTP listener connector as input source then you should use the configured port for it. The default port is 8081 (on cloud default port is 80). Hence, in this case URL should be: http://himserver-onpromice:8081/findName/getMyName/

How do I connect to a localhost service from a hyper-v VM?

I have a WCF service running on "http://localhost:12345/ServiceName". I also have a VM running under hyper-v in Windows 8 public beta. Is there any way that I can connect to this service from the VM? I cant seem to set up a bridged network connection in the hyper-v manager. An alternative would be for the WCF service to bind to the Win8 machine name or IP, but I don't know how I would find out what that endpoint is from the VM side. The WCF service can be changed in any way needed...
Any help would be much appreciated!
Many thanks,
Jon
Not sure this will work with a Windows VM, but I managed to open host's URL from inside an Ubuntu VM:
On Host disable the Firewall or add a rule to allow connections to the respective port (12345 in your case).
On VM edit /etc/hosts, replace 127.0.0.1 localhost with IP_OF_HOST localhost.
Now http://localhost:12345/ServiceName should open from inside the VM.
you can create Virtual Switch in Hyper-V(Virtual Switch Manager) Then you can connect it to your VM(right click on VM ->setting -> create Legaci network adapter -> connect abouve virtual switch to it). after that you should install intigration to Hyper-V for your OS in VM. then you can connect to your virtual switch in your VM. after that you can access internet as well. you your host machine has it. type your host machine's IP address in web browser and you can access any service in host machine
You also need to run as admin on the host machine command shell netsh http add urlacl url=http://*:12345/ user=Everyone where 12345 is the port number of your service.

2 hop SSH port forward

I've been trying to setup the following port forward configuration using 1 (or 2) lines, but with no success:
3 Machines involved; local machine[local], prod machine[prod], 3rd party machine[service]. Prod has (http) access to an API hosted on service and I (local) have ssh access to prod. So for development purposes I am trying to setup a tunnel to service via prod so I can issue a cURL command to some local port and have the request hit the service endpoint.
I'm pretty sure I've done this exact thing a few years ago with a single ssh command, but so far I've been unable to replicate it. Any advice appreciated.
ssh -Nnt -L<localport number>:service:<service port number> <username>#prod &
should do it and stay open in the background, if I understand what you're trying to do. This will send requests on <localport number> to <service port number> on service through prod.