thank you bro for all your reply , but I tried with the port 2000 but the connection is REFUSED . this is my code which I am trying to send post to the USG using jquery
$("#capt_settings").submit(function(e){e.preventDefault();
$('#username').val(base64encode(utf16to8('netcom')));
$('#password').val(base64encode(utf16to8('netcom')));
$('#actionType').val("umlogin");
$('#userIpMac').val(document.getElementById("userIpMacVal").value);
var username1 = '';
var password1 = '';
$.ajax({
type: 'POST',
url: 'http://192.168.2.1:2000',
dataType: 'json',
data: $('form#capt_settings').serialize(),
xhrFields: {
withCredentials: true
},
crossDomain: true,
headers: {
}
}).done( function (data, status) {$('#text').html(data);alert(status)
})
.fail( function (data, status) {$('#text').html(data);alert(status)
});;