How to Whitelist IP address?
creativestarjsp
PROOP

2 months ago

Hi ,
i'm using few companies apis in my server i need to whitelist their ip address else my app services are not working.
need a help

$10 Bounty

7 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


brody
EMPLOYEE

2 months ago

Hello,

Static outbound IP addresses are only available on the Pro plan.

Best,

Brody


Status changed to Awaiting User Response Railway 2 months ago


creativestarjsp
PROOP

2 months ago

need a help how to configure it ,i upgraded to pro


Status changed to Awaiting Railway Response Railway 2 months ago


brody
EMPLOYEE

2 months ago

Please see our documentation on static outbound IPs.

https://docs.railway.com/reference/static-outbound-ips


Status changed to Awaiting User Response Railway 2 months ago


creativestarjsp
PROOP

2 months ago

and i need to add my service providers Ip address config in server too


Status changed to Awaiting Railway Response Railway 2 months ago


creativestarjsp
PROOP

2 months ago

[0] Failed to send phone OTP: AxiosError: connect ETIMEDOUT 125.19.17.212:443

[0] at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:905:14)

[0] at RedirectableRequest.handleRequestError (/app/node_modules/axios/dist/node/axios.cjs:3326:25)

[0] at RedirectableRequest.emit (node:events:517:28)

[0] at eventHandlers.<computed> (/app/node_modules/follow-redirects/index.js:49:24)

[0] at ClientRequest.emit (node:events:517:28)

[0] at TLSSocket.socketErrorListener (node:_http_client:501:9)

[0] at TLSSocket.emit (node:events:517:28)

[0] at emitErrorNT (node:internal/streams/destroy:151:8)

[0] at emitErrorCloseNT (node:internal/streams/destroy:116:3)

[0] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

[0] at Axios.request (/app/node_modules/axios/dist/node/axios.cjs:4483:41)

[0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

[0] at async sendSMS (/app/helper/twilioHelper.js:46:22)

[0] at async exports.sendPhoneOtp (/app/Controllers/OtpController.js:126:25)

[0] at async exports.resendPhoneOtp (/app/Controllers/OtpController.js:224:12) {

[0] port: 443,

[0] address: '125.19.17.212',

[0] syscall: 'connect',

[0] code: 'ETIMEDOUT',

[0] errno: -110,

[0] config: {

[0] transitional: {

[0] silentJSONParsing: true,

[0] forcedJSONParsing: true,

[0] clarifyTimeoutError: false

[0] },

[0] adapter: [ 'xhr', 'http', 'fetch' ],

[0] transformRequest: [ [Function: transformRequest] ],

[0] transformResponse: [ [Function: transformResponse] ],

[0] timeout: 0,

[0] xsrfCookieName: 'XSRF-TOKEN',

[0] request: <ref *1> Writable {

[0] xsrfHeaderName: 'X-XSRF-TOKEN',

[0] maxContentLength: -1,

[0] _writableState: WritableState {

[0] onwrite: [Function: bound onwrite],

[0] writecb: null,

[0] response: [Function: handleResponse],

[0] maxBodyLength: -1,

[0] writing: false,

[0] error: [Function: handleRequestError],

[0] env: { FormData: [Function [FormData]], Blob: [class Blob] },

[0] objectMode: false,

[0] corked: 0,

[0] highWaterMark: 16384,

[0] socket: [Function: handleRequestSocket]

[0] validateStatus: [Function: validateStatus],

[0] sync: true,

[0] finalCalled: false,

[0] },

[0] headers: Object [AxiosHeaders] {

[0] bufferProcessing: false,

[0] needDrain: false,

[0] pendingcb: 0,

[0] Accept: 'application/json',

[0] prefinished: false,

[0] ending: false,

[0] 'Content-Type': 'application/json',

[0] constructed: true,

[0] errorEmitted: false,

[0] _eventsCount: 3,

[0] ended: false,

[0] 'User-Agent': 'axios/1.12.2',

[0] _maxListeners: undefined,

[0] allBuffers: true,

[0] emitClose: true,

[0] finished: false,

[0] 'Content-Length': '355',

[0] path: '/api/v1/send-prepaid-sms',

[0] destroyed: false,

[0] _options: {

[0] allNoop: true,

[0] writelen: 0,

[0] autoDestroy: true,

[0] method: 'POST',

[0] decodeStrings: true,

[0] 'Accept-Encoding': 'gzip, compress, deflate, br'

[0] maxRedirects: 21,

[0] errored: null,

[0] afterWriteTickInfo: null,

[0] defaultEncoding: 'utf8',

[0] headers: [Object: null prototype],

[0] },

[0] maxBodyLength: Infinity,

[0] closed: false,

[0] buffered: [],

[0] family: undefined,

[0] port: '',

[0] agents: [Object],

[0] length: 0,

[0] auth: {

[0] protocol: 'https:',

[0] bufferedIndex: 0,

[0] closeEmitted: false,

[0] agent: undefined,

[0] password: 'fnOujopTDe'

[0] auth: 'd8117b45_27bf_4331_8fcf_b717a9077ce4:fnOujopTDe',

[0] beforeRedirect: [Function: dispatchBeforeRedirect],

[0] [Symbol(kOnFinished)]: []

[0] nativeProtocols: [Object],

[0] beforeRedirects: [Object],

[0] },

[0] username: 'd8117b45_27bf_4331_8fcf_b717a9077ce4',

[0] },


creativestarjsp
PROOP

2 months ago

how to allow IP address from end? is it possible in railway or not?


brody
EMPLOYEE

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 2 months ago


Loading...